IOS EXC_BAD_ACCESS(code=1, address=0x0)

Hi :slight_smile:

I am trying to make an IOS game and I get this weird error in x-code every time I make a build.

[13279-screen+shot+2013-07-19+at+4.20.00+pm.png|13279]

And what I have found on the subject of EXC_BAD_ACCESS is that it is likely to be a null reference. However I have debugged a lot and the object I try to move does not seem to be null. The code that causes the error is this(at line 76):

[13281-screen+shot+2013-07-19+at+4.22.48+pm.png|13281]

If I remove that line of code it works fine. What really breaks my head in this problem is that when I stop the build in x-code and I then start the application on my iPhone it works perfectly.
Does anyone have any idea of why this is?
If Iā€™m not specific enough please let me know and I will try to give more information.

Thanks in advance :slight_smile:

I started an empty project and then build in Xcode.It turns out to be the same problem as yours.
Have you solved this issue yet?