Sapphire Action System Issue

I'm working on my project, which heavily depends on SAS - Sapphire Action System, then out of nowhere, when i start to playtest, the following error appears:

1591821259345.png


After some default debugging process, i found out it happens whenever i execute the following script line:
1591821327735.png

... which is the command needed to show the script HUD.

Also, when executing this:
1591821486153.png

... the game doesn't immediately crash, but it does happen after a few moments swinging the sword at an enemy.

The rest of the event doesn't matter because it crashes with only these two commands being called in a clean map, so the whole problem resides in them.

I don't recall messing around with anything critical to the game or even script-related moments before the error started appearing.

Any suggestions? What should i look for?

Thanks in advance!
while I dont ruby though, its best to link to the script you use + screenshot your event.
that way, people that know ruby or use RMVXA can help you faster.

else they throw the answer as me and a couple of more. so post though so they dont
need to search for it or ask a couple of question before you get a good/straight answer.
while I dont ruby though, its best to link to the script you use + screenshot your event.
that way, people that know ruby or use RMVXA can help you faster.

else they throw the answer as me and a couple of more. so post though so they dont
need to search for it or ask a couple of question before you get a good/straight answer.

Thanks for the tip.
In the game demo those two commands are put together and there is no issues plus doing the commands after that does nothing.
Ruby:
$game_map.start_sas
$game_map.sas_hud.show(true)
In the game demo those two commands are put together and there is no issues plus doing the commands after that does nothing.
Ruby:
$game_map.start_sas
$game_map.sas_hud.show(true)

Yes, correct. I've been playtesting my project for over 8 months now and always used these commands in this same order. Thing is, they suddenly stopped working today. The solution resides in the reason why something executes this "ZeroDivisionError", but i'm failing to find it. Maybe there's an incompatibility issue with another script, though i'm almost certain it isn't. I could upload the entire project if anyone is interested to help find it.
ZeroDivisionError
I've had that before when going into battle and there were no enemies in the troop tab. But SAS doesn't seem to work that way.
Are your settings for the enemy correct and the event pointing to a proper graphic?
Nature = 0
Animation = 82
Char = Monster1
Char_index = 3
StepAnime
I've had that before when going into battle and there were no enemies in the troop tab. But SAS doesn't seem to work that way.
Are your settings for the enemy correct and the event pointing to a proper graphic?
Nature = 0
Animation = 82
Char = Monster1
Char_index = 3
StepAnime

Yes, everything is set up correctly. The issue resides in something else, though: it crashes even if the two commands run in a single and only event of the map - with no enemies or anything else, really. It also crashes after running them in separate events or in a different order.

I'm pulling my hairs out.
So, i managed to "fix" the problem by copying the Data folder components from the new one to the backup project. I eventually found out the problem is in the "Scripts" file, though i still have no idea what the problem is. But this will do for now.
Thanks to those who helped, you're wonderful. Always remember to constantly backup your projects, folks.
Mods can close the thread now.

Original thread: https://forums.rpgmakerweb.com/threads/sapphire-action-system-issue.122685/