Skip to content
Welcome to Spicy Pixel Answers, where you can ask questions and receive answers from the support team and other members of the community.

How do I fix "Attempting to JIT compile method" error?

0 votes

Hi, I am shohei miyashita, unity game developer.

and Im Japanese so I can't use English Perfectly.

Then, thank you for creating awesome Developer Tools.


But I have trouble in your tools.

I used "ConcurrentBehaviour" and tried to connect with http.

I could connect http server and there were no bugs in Unity Editor.


Next, I built my application for iOS.

And I install my app into my iPhone(5).


I hope there will be no bugs, but following Error Log was output in X Code Console.

ExecutionEngineException: Attempting to JIT compile method 'System.Threading.AtomicBooleanValue:TryRelaxedSet ()' while running with --aot-only.


  at System.Threading.Tasks.Task.ThreadStart () [0x00000] in <filename unknown>:0 

  at System.Threading.Tasks.Task.Execute () [0x00000] in <filename unknown>:0 

  at System.Threading.Tasks.TaskScheduler.TryExecuteTask (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 

  at SpicyPixel.Threading.Tasks.FiberTaskScheduler+<ExecuteTask>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0 

  at SpicyPixel.Threading.Fiber.Execute () [0x00000] in <filename unknown>:0 


Can't I use the Developer tool in iOS?

I hope you will  answer my question.

asked Oct 26, 2014 in Concurrency Kit by shohei-miyashita (150 points)
edited Oct 26, 2014 by admin

1 Answer

0 votes
Best answer
iOS is supported. There was a compiler limitation that caused this in some circumstances. Please try using v1.0.5 from GitHub:

I will update the Unity Asset store version soon.
answered Oct 26, 2014 by admin (2,500 points)