EXC_BAD_ACCESS error encountered??
Patronus
Member Posts: 56
I just downloaded and built an app on my iphone and the following happened:
1. The sprites don't look like they do on GS on my computer. The transparent bits are only partially transparent on the iPhone. Circles appear inside blocks because of that. Does it make sense?
2. The app works for a short while and then freezes. Not always at the same place. Once it crashed I can't get past the "Made with GameSalad" screen again and I have to delete and re-compile it onto my iPhone.
3. I saw a message in the left bottom corner of XCode that says: "GDB: Program received signal: "EXC_BAD_ACCESS". Needless to say, it appears when the app freezes.
Does anyone have advice? Thanks in advance.
1. The sprites don't look like they do on GS on my computer. The transparent bits are only partially transparent on the iPhone. Circles appear inside blocks because of that. Does it make sense?
2. The app works for a short while and then freezes. Not always at the same place. Once it crashed I can't get past the "Made with GameSalad" screen again and I have to delete and re-compile it onto my iPhone.
3. I saw a message in the left bottom corner of XCode that says: "GDB: Program received signal: "EXC_BAD_ACCESS". Needless to say, it appears when the app freezes.
Does anyone have advice? Thanks in advance.
Comments
Apparently the error has to do with over-releasing objects on the iPhone, a typical Objective C problem. It doesn't sound like something I can do by using GS however. I thought that I may somehow still be using some actor after destroying it, or referring to it, but I checked, that isn't the case.
Any advice will be very welcome.
It doesn't crash in the intro scene probably because it only has one actor which is an image. The "live" scenes suffer from it, though. Whether actors are moving or not.
I have been searching everywhere in forums but i cant find the solution.
Does anyone know the solution or how to fix it?