As usual, the testing should be done with the minimum plugins necessary to cause the error. So yes, turn off everything else including SRD's stuff.
You're looking in the right place. requestAnimationFrame is a queued frame update: you shouldn't need to go any further than the first one of those, since an endless loop will stall the game.
It looks like the breakpoint is triggering correctly. Apologies, but I forgot to mention that it will need to be triggered twice, otherwise there's no way it can appear twice in the Call Stack. You can resume script execution by clicking the blue "play" button at the top of the panel. Click that button once, then check the Call Stack, from the top down to either the first requestAnimationFrame or the second Game_Actor.setup, whichever comes first. :kaohi:
If you like you can also click+drag to resize that panel, so that every stack entry can display on 1 line.
Alright, sorry it took me a minute to get back to you. I got busy. Today I was able to run more tests.
After turning off every plugin besides Shora's Lighting, Yanfly's Party System, and Yanfly Item Core, the initial error message upon the game crashing changed to just this:
Not sure if that change means anything, but I wanted to make a note of it just in case.
Anyways, after putting down both instances of
Game_Actor.prototype.setup (one from Item Core, one from Party System) as breakpoints, I hit 'new game'. Here's the result:
It goes on further than that, but I think we've both seen enough, lol.
What's interesting, though, is that the loop (while it goes on for awhile)
does eventually end. So where does that leave us? Well... right back where we were before:
This is where my lack of programming skill bites me. I really just have no idea what's going on here to make everything screw up so badly. Still, thank you for helping me out so far, I really appreciate everyone weighing in. Hopefully either you or someone can look at this and figure out what's going on...
I'd have just cut one of these scripts from the project by now, but it's not that simple, sadly. All three of these scripts are necessary for the game I'm making. The Item Core plugin is essential for the in-game crafting system, the Party System is necessary to A: prevent the player from just kicking the MC out of the party and screwing up cutscenes and B: make managing a cast of 8 playable characters less of a headache. Then, Shora's Lighting is necessary because dungeon exploration is like... boringly easy when you can just perfectly see where you're going (and while there are other MV lighting scripts, Shora's is the one I've found with the most recent updates, the others seem very outdated).
I really hope we can figure this issue out, because finding alternatives for any of these plugins is gonna be pretty difficult D: I guess I'm open to suggestions on that front, though...