MV game crashes upon game over, unsure how to fix

hi all! i've been reworking my battle system as my recent posts might suggest, and i've come across a really fun QTE plugin.
the problem is... it crashes the game when you game over, which is obviously not ideal.
i've attached the error log below:
1751219572454.png


for context, "getResult" is the function/variable thingy used by the qte plugin to decide if you've managed to complete the qte correctly

thinking its something to do with the SRD gameover core, i tried placing it above the QTE plugin, but that failed to change the result. I also tried to turn that plugin off, but it provided me with a different error:
1751219631138.png


i'm sort of at a loss because i really want this qte plugin to work, but i don't know how to get around this crash, seeing as its consistent. does anyone have any ideas? thanks in advance!!!

edit: opening yanfly's music menu also crashes the game, the error code is attached:
1751317286416.png
can you show the plugin database you use?
as they do work among YEP plugins if its under the battleCore
I believe.

SRD_CameraCore might give a conflict, but you can try to
re-arrange it correctly or till it works if that gives trouble.
sure, it's a lot of plugins but here are all of the plugins i use:
1751220843486.png

1751220858260.png

1751220872789.png

1751220888568.png


i did some plugin process of elimination and i figured out that when game over core is removed, supertoolsengine is the problem, and when that's removed the game over works as usual.
... but that's not good, because i really need that plugin T_T
your yanfly plugins are in the wrong order.
those plugins are known to cause strange errors if they are not in the exact order given on yanfly's website - you can add other plugins between that order, but messing it up is usually bad, and worse the more of those plugins you have.

reorder the yanfly plugins, then start a new playtest game (reordering plugins makes older saves incompatible) and then see about the error again.
reorder the yanfly plugins, then start a new playtest game (reordering plugins makes older saves incompatible) and then see about the error again.
thank you for the advice, the plugins have been reordered, but unfortunately i still crash when i game over 🙁
1751291723979.png


not sure what to do since i really need all the plugins that seem to be causing issues :-/ i appreciate the help thus far though
Does the error happen if you started a new playtest game, or after loading a savefile, or in both cases?

Basically the error means that the object that started the QTE no longer exists, and that is why it can't get any results.
And since that happens on game over it seems that somewhere the order of the process is interrupted by the game over deleting the battle before the QTE plugin has its processes complete.

Please try moving the QTE plugin to the bottom of your plugin list, and then start a new playtest game for testing
it was in both cases...
and unfortunately, even with the plugin at the bottom of the list, it gives a (slightly different) error message
1751292652044.png
OK, now test with the QTE as the second to last plugin and the SRD gameover the last plugin - that is the one most likely conflicting.

if that doesn't help either, then you'll have to wait for someone who takes the time to analyse the code for those plugins directly, I can't do that for you.
that didnt work either :-( i appreciate your help though, i dont mind waiting for more help, i have other things to keep myself busy with!
bump..!
👋 I had a quick look at Jake's modified version of Astfgl's plugin. You could try editing line 1492 (the source of your error message):

return _Astfgl_newGIUWM.call(this) || (SceneManager._scene._JakeMSG_QTEWindow.getResult() === "start")
...to this:

var qte = SceneManager._scene._JakeMSG_QTEWindow; return _Astfgl_newGIUWM.call(this) || (qte && qte.getResult() === "start");
I.e. check the window reference exists on the current scene before trying to call getResult on it. There might be other, similar occurrences like this.

Also, you're not in trouble, but...

Please try to make sure you wait at least 24 hours between bumps, as per forum rule 4:

ah, sorry, i misunderstood the rule, duly noted!!

also thanks so much, ill test this out and let you know as soon as i get home!!!
just tested it out, and it works perfectly!! thank you so much, i really appreciate it!! i'd say "i'll put your name in the credits!" if it weren't already there lol
have a lovely day!!
Great! Hopefully that was the only problem with it. Happy RPG Making~

Original thread: https://forums.rpgmakerweb.com/threads/game-crashes-upon-game-over-unsure-how-to-fix.178621/