-
Notifications
You must be signed in to change notification settings - Fork 131
Wrong dll for Android #5
Comments
My bad I cried too quickly.. Fixed when setting API compatibility to 4.x |
Missed this due to semester. But glad you found a solution! I'll add it as requirement in the installation guide. Should be compatible with NET Standard 2.0 comparability setting though. (Well both actually...) I'll investigate. For future reference, what package version were you using? |
Hej I was using 12.0.1. |
Right! So I think this is related to #3, with the fix being you have to update to If you get any updates about the iOS build troubles then is it possible to forward them so I can implement them here as well? Neither I have access to Mac Thank you for helping! |
A temporary solution is to copy the folder /Library/PackageCache/jillejr.newtonsoft.json-for-unity.* folder into /Package/ (where the manifest.json lies), then remove it from the list in the manifest.json. Doing so you can then edit the files in the package as they are no longer considered readonly |
Did this resolve? @Merichbier ? Will close soon for inactivity. |
Source/destination types
Expected behavior
Installing the package through UI, building for Android and working Serialization/Deseralization
Seems the package include the wrong dll :
It include the same dll as for the standalone
image
Actual behavior
Just installed your package, building for Android and I have a PlatformNotSupportedException : Operation is not supported on this platform. at Newtonsoft.Json.Utilities.DynamicReflectionDelegateFactory.CreateDynamicMethod
Steps to reproduce
Create a new Unity Project in 2019.2.0f1, import the package through UI, using this class, we cannot deserealize the json
The text was updated successfully, but these errors were encountered: