- Home /
EXEC_BAD_ACCESS question
Hello,
This is more of an iPhone based question. I build and run my game from unity and it will launch the XCode (which i should add all engines are at their latest version, my phone is also IOS4) but it will always give me an error on UnityPlayerLoop(); stating EXEC_BAD_ACCESS.
Anyone know or had any problems like this before?
For me to get this error, i am simply just pressing a button, or attempting too in a way.
nope, i simply just press Build & Run to let it do its business into Xcode
I do find it very annoying that all i am trying to do is allow touch onto the screen so i can touch a button and i have to go through all of this effort.
Answer by Jean-Fabre · Apr 27, 2011 at 12:30 PM
Hi,
I think it's simply because you have a script error. Have you checked the same steps within Unity? does it throw an error or a warning? if so, you need to correct it first.
If it doesn't, use unity remote as well to make sure it's not the touch events handling that is faulty.
Bye,
Jean
I had thought that, the touch being the problem that is. So i am trying another way now. I have no warnings or errors at all in Unity.
Answer by poncho · Apr 27, 2011 at 01:38 PM
when you build a game on unity and deploy it on iphone/ipad, when EXEC_BAD_ACCESS appears, is a common exception thrown on console, you can use remote and run the game in your machine to debug, when the error/exception is shown then fix it and wont appear again the EXEC_BAD_ACCESS again(for the same reason, other errors will show EXEC_BAD_ACCESS), is just a thing about patience. good luck on the debugging
Your answer
Follow this Question
Related Questions
Why is my iPhone provisioning profile no longer working...? 1 Answer
iOS Export: Empty Xcode Project 2 Answers
Switching the streaming video off when using Unity Remote 3 Answers
Problem in record sound 0 Answers
iPhone StoreKit implementation problem 2 Answers