-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Hi ,
So i have tried this unity package . It seems it has never been used before for ios deployment. It will work like charm when used in unity editor but when you will try to compile this for ios , you will receive an exception mentioned below.
ExecutionEngineException: Attempting to JIT compile method '(wrapper managed-to-native) System.Threading.Interlocked:CompareExchange (System.EventHandler1<WebSocketSharp.ErrorEventArgs>&,System.EventHandler
1<WebSocketSharp.ErrorEventArgs>,System.EventHandler`1<WebSocketSharp.ErrorEventArgs>)' while running with --aot-only.
at WebSocketSharp.WebSocket.add_OnError (System.EventHandler`1 value) [0x00000] in :0 at PusherClient.Connection.Connect () [0x00000] in :0 at PusherClient.Pusher.Connect () [0x00000] in :0 at App.Start () [0x00000] in :0
It will not allow you to register event as it requires JIT and ios supports only AOT .
Can't create issue / approach mike for same . May be he will look into this and might be able to change DLL . There is a fix for same but it require source code . Quick fix mentioned here . http://forum.unity3d.com/threads/executionengineexception-on-ios-only.113750/