Dec 16, 2020
Catchoom Team
Some users get this error in the Unity console when building for iOS or in the LogCat when running on Android:
1 |
Unhandled Exception: System.TypeLoadException: Could not load type 'Newtonsoft.Json.Linq.JContainer' from assembly 'Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null'. |
If you get this error it is because the CraftAR Unity SDK uses the JSON.net library (https://github.com/JamesNK/Newtonsoft.Json) which depends on .Net 2.0 and you are probably using the .Net 2.0 Subset.