Error

I need help with a problem every time I attack a enemy this happens "SystemStackError occured" then is closes

I used the debug tool to figure out the location of error here what it says "Game_BaseItem20: stack level too deep (SystemStackError)" I cant figure out whats wrong ughhh...
Do you have this problem with a brand new project and no plugins?
i have tons of scripts,it works fine with new projects with no scripts
it sounds like some type of incompatibility with a script, i would try disabling each script till you find when it stops. Maybe a screenshot of which scripts you are using might help.
Usually system stack error bugs occur if you accidentally post the same script 2x (or more) in your project. Look at the blank (unnamed) lines in your scripts and see if you accidentally posted one there and forgot about it, then posted it again in a new slot.
I have a screenshot of my scripts how do I put them into a post lol? and I looked threw them couldn't find double I might be blind😛
Heres the pics

New Text Document2.png

New Text Document.png
be careful about double posting, made get yelled at for it (next time just edit the previous post). My guess is that either its an issue between the yanfly, vlue,hime, and etc scripts OR you have one of these scripts double copy and pasted, which would be impossible to tell without disabling 1 at a time or going through each 1 at a time to make sure that you didnt double paste 1 on accident. 
Sorry about that wont happen again and okay lol yay cant wait ughh😛 ill do that tomorrow ha 
One other possibility: See if the bug exists when you start a new game. If it does not, that means you were trying to use a save game after installing a script, which was causing the problem.

I'm assuming you probably already tried that, but still something to consider while debugging. In fact, I'd recommend always starting a new game while your disabling the scripts, as removing scripts tends to garbage save games.
Ashley Hart Gramm, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Just use the Edit button to add more info to your previous post, rather than posting multiple times in a row. (and this is not "getting yelled at")


Also, again, please use meaningful thread titles. "System Stack Error message" fits very easily in the thread title and would let us all know exactly what the problem was straight away, and might have given you the correct solution faster, because people who have seen it would know exactly what the problem was and what the solution was before even opening the thread.
Heres the pics
There are a dozen unnamed script slots between "smarter enemy ai" and "main process" - have you checked (as suggested above) if those unnamed slots are all empty?

Because the main two reasons for that error message are either 1) a script being installed two times or 2) incompatibility between two scripts

1) is easy to find, but 2) requires time-consuming bughunting.

If you can confirm that 1) hasn't happened, then I suggest following the link "how to use a script" inmy signature - the second half of that tutorial describes the bughunting procedures you'll need.
I will add to this. You are best to remove all scripts from your project and add one by one and test-play the game each time after a script has been added. One normally does this anyways to test the scripts functions in game before choosing to keep a script in there project for various reasons, one of them being compatibility. Make sure to re-download each script to in case an error in copying a script has happened.
I will add to this. You are best to remove all scripts from your project
You don't need to remove the scripts completely to test them one by one, that's why I referred to my topic about scripts, it explains how to disable scripts for testing...

Original thread: https://forums.rpgmakerweb.com/threads/error.53195/