According to the Animated SV Enemies documentation, you need Action Sequence Pack 2 for floating enemies to work. If you have that plugin installed, and it's above the Animated Enemies in your plugin manager, you shouldn't receive that error.
Did you save your project to apply Plugin Manager changes before testing?
That's odd...I was able to replicate that exact error in a new project by not including Action Sequences 2, but if you have it in your original project, that shouldn't be the problem.
I would suggest you make sure everything is in the order given on the YEP Web site, double check you have the latest versions of the plugins.
Then just standard troubleshooting...turn off everything except Battle Engine, Action Sequences 2 and Animated Enemies, make sure it works that way. Then turn stuff back on one at a time until you find the conflict.
the key to the original error is the part "of undefined".
this always means that the engine is trying to access a data object that does not exist.
the question is the why- why is there a reference that does not exist.
it often is a configuration error, like giving the ID to a database object in the plugin without that database object existing.
it can also be a compatibility problem if one plugin removes an object definition that another plugin needs
or a few other possibilities.
but I think you should go back analysing the exact situation when the error is triggered and looking for what kind of object the engine is supposed to handle at that moment. That will help identifying where the problem lies.
I'm so embarrassed right now omg
So uh, get this. It might actually be another plugin in my project that's doing something it shouldn't.
I was about to send an email to Itch, but something seemed off about the whole thing, so I went ahead and triple checked things. Both to be able to accurately describe my issue, and more importantly, see if there actually was an issue.
First off, and this is a nitpick, but I actually do have the upgraded version. Checked the change logs. Says it's 1.03 in the change logs, but 1.02 in the mini blurb that also shows in the plugin list. I deduced that I had an outdated plugin because I looked at the blurb and not the change logs, and it sorta annoys me thinking about it.
And, due to this inconsistency, it lead me to testing it again in a bare project, with the bare minimum needed for everything to function...it didn't crash.
Good lord...it's going to be annoying, but now I have a far better idea what I'm gonna fix. I only apologize on the behalf of whoever got second-hand embarrassment from all this. 😮💨
It might be caused because of a plugin incompatibility. Nobody is perfect. Perhaps one plugin overwrite entirely a function, or stuff happens in the code preventing it to be defined properly.
You could also try to let the plugin you suspected turned on, and turn off everything else, and see if by turning on something with this plugin turned on, it causes the crash. It's one of the way to catch an incompatibility but it can be really annoying if you have alot of plugins.
The best way is being able to look at the JS code of the plugins, and backtrack the crash to find out what exactly went wrong, where and because of what. But some plugins do not allow you to share them (purchased plugins/licensed plugins). The console error give an idea, but it's not really enough without the code.
Also, if you added plugins later on during the development of the game, you might not be able to load a save that existed before the plugin was added. But it doesn't seem to be what went wrong there.
A function and an object aren't defined. Both seems to be about the Y coordinate (Y & this.AddFloatingHeight) of an enemy sprite.
Good news, I got it working!
The plugin causing the error was actually SRD Battle Popups. Thankfully I can keep using it, too; all I had to do was move it above Visual State FX.
But anyway, thank you all! 😍
Thread closed
Usually we like the original post to be kept intact, though you can edit it to add a comment at the top or bottom to say it's been resolved. No need to remove it or put in a spoiler or strike it out - having all the info there and visible could be helpful to other members in the future 🙂