Newtonsoft.json을 쓰고 있었고
윈도우에서는 잘 동작하는 코드가 android에서는 안됨
걷어내고 assetstore에서 파는 무료에셋인
JSON .NET For Unity
JSON .NET For Unity | 입출력 관리 | Unity Asset Store
Get the JSON .NET For Unity package from parentElement, LLC and speed up your game development process. Find this & other 입출력 관리 options on the Unity Asset Store.
assetstore.unity.com
을 사용할것.
Newtonsoft.json이 IL2CPP 환경에서만 dynamic Reflection을 하는것 같음
저 어셋이 Newtonsoft.json을 포팅한것으로 보임.
그래서 코드는 하나도 안바꾸고 동작 가능
'Unity' 카테고리의 다른 글
dropdown 클릭 이벤트 받기 (0) | 2024.06.28 |
---|---|
Unity 에서 C# 스크립트 디버깅하기 (0) | 2020.10.18 |
curl error 6 couldn't resolve host (0) | 2020.10.18 |
Entering Playmode with Reload Domain disabled. If you experience any issues, please disable "Enter Play Mode Options (Experimental)" in Editor Settings (0) | 2020.06.17 |
Assertion failed: TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD (2) | 2020.06.11 |