Recently, I’ve upgraded a couple of projects from Unity 3.5 to Unity 4.1, and suffered from a couple of stressful moments. Here’s a couple of things I did to get my projects running again.
Issue 1: Unity would no longer open the project without crashing
This was fun. Eventually I found that the best way to deal with this one is to go into your Library Folder and delete the ScriptAssemblies folder. I wouldn’t delete the entire Library folder unless you want to rebuild all of your Prefabs/Scenes from scratch.
Issue 2: XCode crashes and says “Level 0 is Corrupted please remove and restart Unity!”
Another fun one, but easier. Just fully delete your previous XCode project and Build a brand new Project. Also, make sure you are using the latest version of XCode, I found that earlier versions of XCode had some issues dealing with what Unity is outputting lately.
If that doesn’t work, try the fix to Issue 1 (deleting the ScriptAssemblies folder), as I had to do that for every project I’ve upgraded so far.
It’s still broken in a weird way, I’ve been able to get the iOS Unity Player to crash but not give me an errors in XCode as to what’s going on. I’ll update more when I find out what’s going on here.
Issue 3: iOS PIE issues
Just submitted an app that received a warning from iTunesConnect saying that my app was setup as a Non-PIE Binary. This is due to a change for iPhone 5 compatibility. So far it looks like this is just a warning and most apps are still making it through review no problem and Unity is working on the issue.
Good night and good luck everyone.