roperfox / solid-state

Automatically exported from code.google.com/p/solid-state
0 stars 0 forks source link

SolidMachine.Transitioned is not AOT friendly #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Actually it is not a bug, but I'd like to use this library in iOS

What steps will reproduce the problem?
1. Call SolidMachine.Transitioned += method; in iOS device

What is the expected output? What do you see instead?
No error expected. but the error occurs in iOS Device as follows.
Attempting to JIT compile method '(wrapper managed-t-native) 
System.Threading.Interlocked: 
CompareExchanged(Solid.State.TransitionedEventHandler&,Solid.State.TransitionedE
ventHandler)' while running with --aot-only
at Solid.State.SolidMachine`1[TTrigger].add_Transitioned 
(Solid.TransitionedEventHandler value) [0x0000]

What version of the product are you using? On what operating system?
version: 1.2.0
OS: iOS 8.3

Please provide any additional information below.

Original issue reported on code.google.com by mul...@dryadgames.com on 4 May 2015 at 1:30

GoogleCodeExporter commented 9 years ago
Sorry, It' because I used the library as DLL.

Original comment by mul...@dryadgames.com on 4 May 2015 at 4:03

GoogleCodeExporter commented 9 years ago
Actually I fixed this issue by
http://forum.unity3d.com/threads/executionengineexception-on-ios-only.113750/#po
st-2029858.
It would be good to apply this.

Original comment by mul...@dryadgames.com on 4 May 2015 at 7:29