|
Running the game from Xcode works fine and from the editor produces no errors. This started after reducing resources to get the app under 20MB, so I'm assuming it's related to a null reference pointer, but I've been over and over the code that runs at the start of the game and I can't find anything missing. Anyone have any theories?
(comments are locked)
|
|
Crash was caused by an Audio music file that was set to Decompress on Load...
(comments are locked)
|

I've narrowed it down to 2 missing references, that print in the Xcode debug when the game loads, but nothing appears wrong in Unity. No idea what might be causing that.
These are the Xcode errors that I'm seeing (that don't appear in Unity):
The referenced script on this Behaviour is missing!
(Filename: /Applications/buildAgent/work/842f9557127e852/Runtime/Mono/MonoBehaviour.cpp Line: 1452)
The referenced script on this Behaviour is missing!
(Filename: /Applications/buildAgent/work/842f9557127e852/Runtime/Mono/MonoBehaviour.cpp Line: 1452)