Debug in Xcode

Hi

Yesterday my iPhone game suddenly decided to crash after 1-2 seconds of play, It only happens when uploaded to my iPod and I don´t get any errors or warning inside Unity.

I tried to use the debugging tools in Xcode, but I´m not really sure what to look for or how to understand / read the stuff it tells me.

I managed to find the console, but it only output this, when my game freeze.

Unknown error occured in:
No method at 0x31296158

What I’m asking for is if someone could point me to some understandable reading on debugging in xcode.

thanks

Please fill in a bug report and attach your project.

This may be entirely unrelated, but do you happen to have a LineRenderer and a Light in your scene? This weekend, I was getting a similar “No method at” crash in Xcode, and it was related to lighting a LineRenderer object. I hacked around it by putting the object in its own layer and setting the culling mask of the light to not include that layer.

Of course, it could be something entirely different. :stuck_out_tongue:

thanks a million jerrodputman :smile:

I didn’t have a lineRenderer in my scene, but I have a lot of particles and apparently particles + lights is a no go :?:

thanks again

/ claus

@Bjerre, no problem! I’m pretty sure it’s not supposed to be like that though, and I’ve sent a bug report about the issue already.

jerrodputman could you please send me your bug report number?

@ReJ: The case number is 121274. When I sent the bug report, I didn’t actually know what was causing the crash, so the description may not have the most up to date info on the problem. Thanks for looking into it!

is this fixed

I ran into this issue as well. Took me a night to fix. I was taking things in and out of the scene until I found taking the light out worked. Then I stumbled upon the problem/solution in the forums.

Phew! Good thing I found this thread. I was going bonkers trying to figure this out.

Does anyone know if trail renderers have a similar problem?

Please resubmit a bug with correct description and attach an example project so we could repro it. Thanks.

I submitted a new bug with an example project attached. I verified that it crashes on my iPhone.

Case #189793