Hi, I was testing my game and when I want on a player touch tile which triggered an event, my game stopped and it gave me a "disposed bitmap" error. Any ideas on how to troubleshoot this?
It doesn't happen every time, which strikes me as quite odd.
We need more info. It should have given you a script name and line number as well. It's probably an issue with a custom script, but I'll leave this here until you give us the extra details.
Right on Shaz, RGSS3 error something like that with line 336 of Sapphire SAS IV ABS script
335 self.bitmap = Sapphire_Bitcore[@key]
336 self.ox = self.bitmap.width/2
337 self.oy = self.bitmap.height/2
Would it be better if I posted the whole script?
Also, why do you think this error doesn't happen every time? I just did a playthrough without the error ><
Don't post the whole script. Just post a link to where you downloaded it from (for so many reasons that I've repeated ad-infinitum and won't let yet again 😉 )
After you post the link, someone might be able to take a look at the script and see where it's gone wrong. You will probably have to give more information though (and really, the EXACT text of the error message is usually needed - RGSS3 Error doesn't tell us anything, but you've already said it was a disposed sprite error - but if there's MORE text, it will certainly be helpful - in fact, if you can't write it out word-for-word, just wait until it happens again and screenshot the error message and post that).
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.