Game crashes when two objects collide. (On ios device)

The game runs great in Unity 4. But when the game is built and put in Xcode, it runs on the iphone 5, but always crashes when 2 objects collide.

I submitted a bug request and a test scene. (Case 719426)

And below is the error message in Xcode.

Do they get “destroyed” when they collide and is there any code on the objects that reference each other?

The objects do not get destroyed. Its a Tetris type block stacking game. The objects have rigidbodies and 2D colliders.

Theres only one script that reference the collisions but its to move the camera in the Y position (when the stack of blocks gets higher)

When any objects with a collider touch, the game crashes.
Even in a test scene ( with only a platform and a block (and no camera moving script))

The instance where I had this happen was when the two objects where colliding…and one of them was destroyed…ie creating a null reference for the remaining object…so maybe check that you don’t have a “null” on any of the references in the code that gets triggered on collision…

I dont see a problem with the scripts. Not sure if the problem is in XCode since it runs fine in Unity.
I can try posting some of the scripts here if that helps at all.

@HydraGundam

Does the same problem happen when you run on the device with the Mono scripting backend? I wonder if this is specific to IL2CPP, or if it is a more general iOS bug.

Nevermind, I just changed the whole camera moving mechanics so the game works now.