2009-11-14 17:37:43.558 games[303:207] → registered unity classes
2009-11-14 17:37:43.671 games[303:207] → registered mono modules
→ applicationDidFinishLaunching()
Failed to load AOT module ‘f7aeddb4d8f2a4437af4886610a8bdf7’ while running in aot-only mode because a dependency cannot be found or it is out of date.
Debugger stopped.
Program exited with status value:1.
In the editor, the script works well without error. I’ve added scene before i click Build but the error seems to be still there ?
Because i am using C# Javascript in my code i think that building for iphone doesn’t works to mix C# Javascript
I have ut my javascript code (that is called by C#) in Standards Asset subfolder to compile before C# call it. i’ve tried to change the folder name to Plugins but this works perfectly on the Editor but not on iPhone.
I think i will have to translate my javascript to C#
there is no problem mixing C# and JS.
With JS on the iphone though you need to keep in mind that you don’t have automagic etc. but that would throw other errors, not startup errors of this kind.
Again, see the build log unity generates when building your code to see if there are errors.
So, After having translated JS to C# this is now working perfectly without error. I think the directory Standard Assets is not “understandable” for iphone.
C# is generally less fragile to moves from desktop to the iphone as the only thing that changes on the C# end is the restriction to .NET 1.1 (no generics etc)