Animation invisible when loading a save

Hi guys, im very exited to release my new game Alquiem but im in the last part of polishing and debuging and no matter what i tried i couldn't find a way to fix this bug. Maybe you will have some ideas 😢

Here is the deal, when i start a new game, everything works perfectly fine, every animations are playing as they should. I save then on loading back into the game every single animation are invisible. I used this word with precaution because we can still hear sounds effects, just the visual part that is missing.

So now i will give you some context about this anomaly, ofc it doesn't happen on a fresh project so obviously it's related to one of my plugins but :
- maybe it's a load or save problem ? im using visustella save core and im pretty sure that no one has ever reported that kind of problem but im maybe wrong about that.
- im using srd hud maker pro, i tried to reproduce the bug without it and it happened the same way. A little detail that can help : hud maker pro can play animations on screen (not target to an event) and those animations works fine, so im guessing that has something to do with eventing.
- I find a way arround, when i teleport to a new map and go back to the previous one everythings works again (im was using only one map in my project). But it obligates me to change map on load which can takes some times especially with hud maker. I would prefer to find the cause of the problem.


Let me know what you think ! Thank you all in advance
1) how did you create/start the animations?

2) please give screenshots of your plugin manager so that we can see which plugins you use and which order they are in (especially since you believe it is something in your plugins, we can't even guess without that list)
1) Im using the base engine command Play an animation on event target

2) Here it is
RPGMZ_X33aEAoZIF.png
base engine command Play an animation on event target
can you give a screenshot of that event?
please do not crop away any event properties from the screenshot.
Just a target event for the animations only
ofc it doesn't happen on a fresh project so obviously it's related to one of my plugins
Then you really need to figure out which one.

Turn off half of your plugins, save the project, start a new game - does it have the problem? If no, turn those back on, turn the other half, etc. Use logical elimination to figure out which plugin or combination of plugins is causing it.

No one can do that for you, but if you do it you can either get help from someone or file a bug report with VisuStella.
Yeah that's what iv been doing for 2 weeks and i didn't find any solution, i just wanted to know if it was a knowed bug or if someone already figured it out. I thought of multiples thing such as an outdated pixi.js, an overload animation render process, etc

The weird part is that again it happends only when a save is loaded and i never encountered the anomaly on a new game playthrough even after hours of playtest. And it's recurent it happens 100% times on load. Again a way arround is to simply switch map but i want to find the cause of the problem.
Thanks anyway i will continue my researchs.
I'm sorry, I don't understand your answer.

Are you saying that:
- this does not happen on a fresh project

- it does happen on your current project with all plugins turned off

?
Maybe it's a stupid idea, but did you try : $gameMap.requestRefresh(); after the loading?

Sounds like there is an issue with the game state upon loading, since you say it works fine after you switch maps back and forth.

This would simply refresh the current map without needing to teleport back and forth.
Just a target event for the animations only
no, I wanted to see the event where you use the play animation command, or whatever else you do to play the animation.

because your entire description points to the fact that the command to play the animation is not stored with the map, and we need to see where it comes from to tell you how to change it so that it gets restarted after mapload.
no, I wanted to see the event where you use the play animation command, or whatever else you do to play the animation.

because your entire description points to the fact that the command to play the animation is not stored with the map, and we need to see where it comes from to tell you how to change it so that it gets restarted after mapload.
Oh right, indeed im playing that event command in a paralel event (a few to be more precise but here is one of them, i have only one map so the paralel event is always call inside this map)

Maybe it's a stupid idea, but did you try : $gameMap.requestRefresh(); after the loading?

Sounds like there is an issue with the game state upon loading, since you say it works fine after you switch maps back and forth.

This would simply refresh the current map without needing to teleport back and forth.
I did, so i suppose that there a thing in the teleport process that triggers a global refresh for animations or something like that.
I'm sorry, I don't understand your answer.

Are you saying that:
- this does not happen on a fresh project

- it does happen on your current project with all plugins turned off

?
I tried with a lot of plugins individually, the ones that were the most related to my problem, but no i didn't try to put them all off and see the result. I will have to x)


Thank you all, i appreciate your help 😤
I'm sorry, I don't understand your answer.

Are you saying that:
- this does not happen on a fresh project

- it does happen on your current project with all plugins turned off

?
Sorry for the double post, but i just tried to turn off all plugins, and i figure it out that its maybe about visustella save core after all (i had test it out multiples times, but maybe it's link to another visustella plugin codependent from that one), precisely about automatic saves which i use in my project.
When i save the game manually on a proper slot (with every plugins turned off) and i load the save the animations plays normally on map but when i load the automatic save (which is on a separated slot) the bug happen even with every plugins turned off.

- So i will try to not use automatic save anymore and find a way around
- I don't know whats the link between this and switching maps / and animations player
- Still not sure if this is the end of this problem x)
and now please show a screenshot of the event that calls that common event.

parallels should reset on load, starting again from top. somehow that is not happening when you use autosave from your description.
so we need to check how you start and call that common event.

by the way - I can see the picture inside the post, but going to imgur only gives a black without the picture.
i figure it out that its maybe about visustella save core after all
In that case, VisuStella's Web site has a process for you to follow to report bugs.
full size without imgur
RPGMZ_8sBthT7ape.png

and now please show a screenshot of the event that calls that common event.

parallels should reset on load, starting again from top. somehow that is not happening when you use autosave from your description.
so we need to check how you start and call that common event.

by the way - I can see the picture inside the post, but going to imgur only gives a black without the picture.
Im calling that paralel event with hud maker (on click fonction)


Other paralel event run my entire dungeon combat system for example, and the animations inside are also invisibles. Here the method to call the paralel event is with a switch activation.
RPGMZ_8b5zb2FxEi.png


No save during dungeons, only outside. I do have one constant paralel event running on loop (timer system) but there is no animation inside it, no save, only switches and variables.
OK, it definately sounds like a plugin problem - and no one but visustella can help with that due to their plugins being obfuscated. you'll have to follow their procedures to get more help.

that said, there is an idea I just had that you might want to check:
are the animations invisible or has something messed up the Z-order of your display, placing the animations behind your pictures?

there are very few things that could make a correct animation invisible, basically only messing with the image cache or placing something else above it in the z-order.
and a plugin compatibility problem in the z-order is more likely than the save messing with the image cache.
That's a good idea, hud maker definitly play with z-order i believe since it adds a lot of layers. But unfortunatly the bug still happened when it's off. My guess is maybe something in that order is messed up when saving, and we only see the result of that when loading. Again good news it seems to work now when saving normally without the plugin command of visustella save core.

I will report that to the visustella team, thank you all for your kind help and see you next time 👋

Original thread: https://forums.rpgmakerweb.com/threads/animation-invisible-when-loading-a-save.170472/