Slight lag in event animation during image change

I'm using an animation of a puff of smoke that plays when a character transforms into another character. When I play test it, the puff of smoke has a moment of lag. I'm assuming the lag is because the event's image is changing since it doesn't happen otherwise. In fact, it only happens the first time it plays. I've tried using "change image" and also just having the event change to the next event page with a different image, but there's no difference between those two methods. Is there any way to do this without the animation lagging? Even though it's just a split second of lag, it's really noticeable and I hate it.

I'm using Galve_ImageCache for the animations folder and Irina_PerformanceUpgrade and neither helps.

Also, the animation is just the "pollen" animation, but white.
Show us a screenshot of how you did it and we can check if you made a mistake.

otherwise any preloader can only work if used at the correct time - it will not stop lagging with a preloader if you don't give the engine enough time to preload any resource. So we need to see when you're caching or preloading the image.
Show us a screenshot of how you did it and we can check if you made a mistake.

otherwise any preloader can only work if used at the correct time - it will not stop lagging with a preloader if you don't give the engine enough time to preload any resource. So we need to see when you're caching or preloading the image.

EDIT: A few minutes after posting this reply, I figured it out! I needed to pre-load the character sprite sheet! It was thanks to what you said that my gears started turning in the right direction so thank you so much! This was really bugging me on the Switch version so I'm so happy to have it fixed!

(so ignore the rest of this i guess lol)

Thanks! I had the image preloading right before the animation so I moved the script call to the event that runs as soon as the map loads. But then, when I repeatedly click on the event with the animation it sometimes says "failed to load image" so I removed the script call completely. This is an image of the event without any preloading (since doing it in the event would be too soon, right?):
Screenshot (31).png


I forgot to mention that this exact same thing happens in the Nintendo Switch version which I was previously using. I thought it was because the Switch version runs poorly but I guess not.

Original thread: https://forums.rpgmakerweb.com/threads/slight-lag-in-event-animation-during-image-change.128446/