Have anyone managed to get Json . NET (Newtonsoft JSON library) to work with Unity on iOS?
When I try to deserialize my VostopiaSkinnedMesh class my data on iOS, I get the dreaded
System.ExecutionEngineException: Attempting to JIT compile method
'(wrapper dynamic-method) VostopiaSkinnedMesh:CreateVostopiaSkinnedMesh ()'
while running with --aot-only.
Others have reported to get Json . NET working with MonoTouch, but I don’t know what, if any, differences there are with the mono touch AOT approach to the Unity AOT aproach?
I’ve tried the usual, making sure my constructor isn’t omitted by the AOT compiler by making explicit calls to it, but the AOT compiler doesn’t want to play. Any suggestions?
cheers,
-Tore
** edited to avoid link generation in json . net name