Hi everyone:
I’trying to build my app on my ipod and test it. But is crashed on ipod, and with the information leaving in console window:
→ applicationDidFinishLaunching()
AudioStreamBasicDescription: 2 ch, 44100 Hz, ‘lpcm’ (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved
Failed to load AOT module ‘/var/mobile/Applications/41FAC365-2369-412C-A8B0-5256F1A6E421/mytest.app/Data/Assembly - CSharp.dll.dylib’ in aot-only mode.
Debugger stopped.
Program exited with status value:1.
Something wrong with the aot module, and I think also about the audios. I checked some topics in forum, but there is no right answers for me. Does anyone know what could be wrong?
just rebuild the application in unity, that normally solves this kind of issue.
and especially check the console in unity if it mentioned something too
I think you had an error that cannot be seen in unity. I had similiar problem it took 2 days to find out(I consider myself lucky)
The only tip i can give is: Watch unity warnings carefully and ask what causes them.
I had some C# -Javascript compability issue… If you have both C# and javascript also C# calls javascript that may be same problem. Good luck on spotting your unvisible error.
Actually there is no c# script in current project at all. But I still wonder is that what you are talking is true? Even put the js scripts in plugins folder?
I used to put c# script is plugins folder, and call it in js. I saw someone said we can call c# in js through another way, is that way working in unity iphone?
Actually What i mention was just an editor script; i didn’t use it in any game’s gameobject. When i published in iphone i got error. So when i finished project i deleted that editor script with no harm. But that is offtopic. The problem you are facing is something like my problem a problem that works in Unity simulator but it isnt allowed in unity iphone. Just thnk what you added recently after last successful iphone build…