Tapping while loading

I am having a problem where if you tap rapidly on the screen while the app is loading a level, it freezes up and crashes.

Before I call loadlevel, I’m destroying the object that processes touches in it’s update function, and waiting 2 frames and .1s (to be thorough).

Is it possible that this update function is still running somehow despite destroying it’s game object? If not, what might be crashing my program, or how could I figure out more? Crashes on the phone are pretty much a black hole, and I cannot get any errors doing the same thing with the remote.

After it crashes in the xcode debugger, hit continue. Sometimes this outputs more descriptive info about the crash to the debugging console.

If that doesn’t help, I’d see if I could get it to happen in a mini-repro project and then send it to Unity with the bug reporter.

Ha!

Continuing showed me what I needed.

Thanks!