I have an issue that I am unsure of what the cause is. At random times, even when play testing, the game will crash.
There's no error box, no script error, the program just stops responding and windows flags it as an APPCRASH.
Is this an existing issue with rpg maker vx ace?
If not, then what could the cause of the crash be?
If it was a script at fault it would flag a script error within the editor, wouldn't it?
I should note that its not the editor that crashes, just the game exe
It's probably a script. And this kind of error is hard to track. Do you have many scripts on the game?
Yes and every single one of them is being used by the game.
Or just comment out all the scripts and have one running at a time (likely one of the last few you added) until you find the culprit 😛
The linked script exists specifically to zero in on that kind of problem. If the error is script related, there is a good chance it will find it. Just plug it in (goes after all other scripts except "main"), play through the areas you normally crash, and look for a log in the game's folder and reports from the console. If you need help, make a post in my main thread (very busy right now, but I'll try to at least point you in the right direction)
Please note that non-script related Game.exe crashes can still occur which the linked script will unfortunately not help with. However, if you are only getting the crash in a project with a lot of scripts, chances are it is the scripts, and if the crash occurs "randomly", chances are it is the issue described in my signature thread.
In the event no errors are found with the scripts, Game.exe crashes can also be caused by:
- corrupted or type mismatched resources (graphics, sound) attempting to be loaded. In these cases, the location of the crash should be 100% reproducible and can be fixed by removing the errant resource. In cases where you have two different files of the same name but different extension, make sure you have selected the correct file.
- Improperly installed software/corrupted DLL
- Viruses/other computer issues. If you are the only one experiencing these issues with a project, it may be your computer.
For these types of problems, you can continue this thread by adding additional information here.
Yeah, I actually think it may be the collision script I'm using. The script hasn't revealed this yet but after putting it in and playtesting, i noticed the collision boxes(that only appear during playtesting) were starting to clutter up the screen. Could this be the cause of the "random" crashes?