Skip to content

fixes ExecutionEngineException subscribing to events on iOS by adding a Property#173

Open
ssfrr wants to merge 1 commit intosta:masterfrom
ssfrr:event-properties
Open

fixes ExecutionEngineException subscribing to events on iOS by adding a Property#173
ssfrr wants to merge 1 commit intosta:masterfrom
ssfrr:event-properties

Conversation

@ssfrr
Copy link
Copy Markdown

@ssfrr ssfrr commented Oct 26, 2015

I'm using websocket-sharp in Unity 5.2.2f1 building an app for iOS 9.0.2.

I was getting the error:

ExecutionEngineException: Attempting to JIT compile method '(wrapper managed-to-native)System.Threading.Interlocked.CompareExchange...

And found this thread:

http://forum.unity3d.com/threads/executionengineexception-on-ios-only.113750/

Which describes fixing the issue by adding a Property for your public delegates that handles the increment/decrement operators. This change seems to fix the problem for me.

@sta
Copy link
Copy Markdown
Owner

sta commented Oct 28, 2015

Hello there, thanks for your pull request.

Which version of VS or MonoDevelop, and target framework (.NET 3.5 or other) do you use to build this library?

If something settings changes (i.e. changing target framework) don't make a difference, i will merge this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants