Program exited with status value:1. What does it mean?

Hi there!

I’ve seen a few problems with the program status being exited with status 101, but none of this kind…

Does anyone know what means this status One?

I’ll keep looking though the net.

Hello Chips,
Are you mixing C# and javascript code?

Yes. I am…

I found out that a javascript file that was called by a C# script was the one that was creating generating the error.

To be more specific, for others that may have the same problem, I was calling a javascript class inside a C# script and then sending the new js class though message to an other C# script.
Apparently, the message part it’s OK.

Thanks for the help mantasp!

Ps.: I’ve just “Translated” the javascript class to C# and everything worked fine!
Thanks Again!

Currently on Unity iPhone it is recommended to avoid calling javascript code from C# code. Calling C# code from javascript code is OK.

Thank you very much mantasp!

I’ll translate all of my javascripts to C# to avoid the possibility of having more problems!

I am currently getting the same ‘failed to load AOT module’ error, but I am using only javascript, no C# - any ideas?

-jdm

removing Javascript calls from c# was also the solution for me.
Thank you guys :slight_smile:

I got this problem and I was using purely C# (i.e. no JS) and so the above was not causing my issue and hence didn’t resolve it.
I also tried another solution I found which was to delete the app off the iPhone device and get XCode to re install it. No luck with that either.
I eventually fixed it by deleting the XCode project (entire folder) and getting Unity to rebuild it.

Who knows how the problem originated as I didn’t change anything in Unity or XCode and it was working and it just decided to stop working out of the blue.

I got same problem after I update Unity from 3.3.0 to 3.4.0. and I deleting the XCode project and getting Unity to rebuild it, It’s OK now.