- Home /
Iphone error Attempting to JIT
HI
I support a code for Iphone and iPhone, in a simple ApplicationLoadLevel ("name") my application closes and sends me this error.
Unhandled Exception: System.ExecutionEngineException: Attempting to JIT compiled method 'CultureInfo__TypeMetadata:. Ctor ()' while running with - AOT-only.
I first thought that when I create a scene there was error but nothing to do, I remove all code that was called during the creation of the scene but still nothing.
I placed one above applicationLoadLevel that works very well. but it not.
a hand is welcome if someone has an idea. :)
thank you.
Comment
Answer by karl_ · Sep 16, 2011 at 02:40 PM
In my experience a JIT compile error is usually related to dynamic typing. Check your scripts for any implicitly cast variables.
Your answer
![](https://koobas.hobune.stream/wayback/20220612213900im_/https://answers.unity.com/themes/thub/images/avi.jpg)