{"action":"created","issue":{"url":"https://api.github.com/repos/sta/websocket-sharp/issues/23","repository_url":"https://api.github.com/repos/sta/websocket-sharp","labels_url":"https://api.github.com/repos/sta/websocket-sharp/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/sta/websocket-sharp/issues/23/comments","events_url":"https://api.github.com/repos/sta/websocket-sharp/issues/23/events","html_url":"https://github.com/sta/websocket-sharp/issues/23","id":21948148,"number":23,"title":"Getting ExecutionEngineException in WebSocket.cs on iOS devices","user":{"login":"sk-ericso","id":4740861,"avatar_url":"https://avatars.githubusercontent.com/u/4740861?v=3","gravatar_id":"","url":"https://api.github.com/users/sk-ericso","html_url":"https://github.com/sk-ericso","followers_url":"https://api.github.com/users/sk-ericso/followers","following_url":"https://api.github.com/users/sk-ericso/following{/other_user}","gists_url":"https://api.github.com/users/sk-ericso/gists{/gist_id}","starred_url":"https://api.github.com/users/sk-ericso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sk-ericso/subscriptions","organizations_url":"https://api.github.com/users/sk-ericso/orgs","repos_url":"https://api.github.com/users/sk-ericso/repos","events_url":"https://api.github.com/users/sk-ericso/events{/privacy}","received_events_url":"https://api.github.com/users/sk-ericso/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2013-11-01T09:23:17Z","updated_at":"2016-02-22T07:09:23Z","closed_at":"2014-01-25T02:16:35Z","body":"I am getting the following exception when using the latest master developing iOS app on Unity platform.  This issue only happens on iOS devices (not on simulator).  After some testing, the problem may be due to the some changes after the commit a5e6e6e80ee878843b413005587d253e0e75042f.  I suspect that is the change from Action<Opcode, byte []> to Func.  This seems to be critical because this library does not work on iOS platform anymore.\r\n\r\n```\r\nExecutionEngineException: Attempting to JIT compile method '(wrapper delegate-begin-invoke) System.Func`3<WebSocketSharp.Opcode, byte[], bool>:begin_invoke_IAsyncResult__this___Opcode_byte[]_AsyncCallback_object (WebSocketSharp.Opcode,byte[],System.AsyncCallback,object)' while running with --aot-only.\r\n\r\n  at WebSocketSharp.WebSocket.send (Opcode opcode, System.Byte[] data, System.Action`1 completed) [0x00043] in Assets/Scripts/3rdParty/WebSocket-sharp/WebSocket.cs:1105 \r\n  at WebSocketSharp.WebSocket.Send (System.String data, System.Action`1 completed) [0x00054] in Assets/Scripts/3rdParty/WebSocket-sharp/WebSocket.cs:1728 \r\n  at WebSocketSharp.WebSocket.Send (System.String data) [0x00000] in Assets/Scripts/3rdParty/WebSocket-sharp/WebSocket.cs:1633 \r\n  at WebSocketClient.SendMessage (System.String payload) [0x00000] in Assets/Scripts/API/Network/WebSocketClient.cs:67\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sta/websocket-sharp/issues/comments/187044808","html_url":"https://github.com/sta/websocket-sharp/issues/23#issuecomment-187044808","issue_url":"https://api.github.com/repos/sta/websocket-sharp/issues/23","id":187044808,"user":{"login":"sta","id":443481,"avatar_url":"https://avatars.githubusercontent.com/u/443481?v=3","gravatar_id":"","url":"https://api.github.com/users/sta","html_url":"https://github.com/sta","followers_url":"https://api.github.com/users/sta/followers","following_url":"https://api.github.com/users/sta/following{/other_user}","gists_url":"https://api.github.com/users/sta/gists{/gist_id}","starred_url":"https://api.github.com/users/sta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sta/subscriptions","organizations_url":"https://api.github.com/users/sta/orgs","repos_url":"https://api.github.com/users/sta/repos","events_url":"https://api.github.com/users/sta/events{/privacy}","received_events_url":"https://api.github.com/users/sta/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T07:09:23Z","updated_at":"2016-02-22T07:09:23Z","body":"@Appster-Arun Hello there,\r\n\r\nWhere does your `websocket-sharp.dll` come from?"}}