Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Maximum Call Stack Size Exceeded with VisuStella Plugins

A topic by anzod created 42 days ago Views: 33 Replies: 2
Viewing posts 1 to 2

Hey, I'm not even sure you'll be able to help with this but whenever I try to start a new game it gives me a RangeError that says 'Maximum Call Stack Size Exceeded' and the DevTool shows a few of the VisuStella plugins as being the issue. I don't code so I can really only take a guess when it comes to this kind of stuff based on what the error says but I really don't know where to begin with this one. I mean I can see it has something to do with the actors parameters but I don't know why or what's causing an overflow. Is it just that your plugin isn't compatible with the VisuStella ones? Seems weird that it would be the ItemEquipsCore and EquipSetBonuses causing problems. 

I'm not even sure I'll be able to do what I'd like to do with this plugin but it's the only one that's close to what I want. No worries if you can't help, I understand if it's not something you'd know since it's related to VisuStella.

Developer

Hi there!

Probably a compatibility problem between mine and Visustella plugin.

Some Visustella plugin has some plugin parameters that have formulas. I believe maybe there are some formula that is calling the method .param(ID) to return the value of some battler parameter, and that could be the cause of conflict.

The way to go here, is to turn my plugin off and see if the problem persists, if not, then turn my plugin ON and start to turn OFF the visustella plugins listed on the error log, one by one, to find out what is the one causing the compatibility issue.

But as you know, because of the obfuscation, even if we find the one that is conflicting, I may not be able to fix. But will try.

It only happens when your class curves plugin is on. I tried to see if I could find which Visustella plugin is the problem but the only one I can turn off that the error relates to is the EquipSetBonus one. When I turn that one off it gives the same error but with a different error log.

I tried changing the max stat limit in the CoreEngine back to the defaults but it's the same error. Also after disabling and re-enabling the EquipSetCore it no longer comes up in the error log and it's the same error log as the picture above.

Finally I tried updating all the Visustella Plugins with the most up-to-date ones and the same max call stack size error comes up but with a new error log. 

I don't even know what the problem could be now based on what the error is referring to. Now it just seems unrelated to me. Regardless of if you can actually do anything I just wanted it to be known that there's a compatibility issue.  I appreciate you getting back with me and looking into it. 

BTW, your Mobile Controls plugin was a life saver. Best of it's kind.