x


Game crashes from device after load screen (iOS 5.0) only

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?

more ▼

asked Feb 03 '12 at 11:36 AM

kalvinlyle gravatar image

kalvinlyle
241 10 16 19

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.

Feb 03 '12 at 01:31 PM kalvinlyle

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)

Feb 03 '12 at 02:46 PM kalvinlyle
(comments are locked)
10|3000 characters needed characters left

1 answer: sort oldest

Crash was caused by an Audio music file that was set to Decompress on Load...

more ▼

answered Feb 05 '12 at 10:57 PM

kalvinlyle gravatar image

kalvinlyle
241 10 16 19

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1962
x591

asked: Feb 03 '12 at 11:36 AM

Seen: 586 times

Last Updated: Feb 05 '12 at 10:57 PM