Character Sprites Vanishing for a Single Frame

This is probably just me misunderstanding how MV's engine is written, but whenever I add a new character sprite to the map spriteset during runtime rather than while the map is loading, all character sprites on the map disappear for one frame, making it appear as if they are blinking. Apart from this blinking, everything works as intended, the new events and their sprites show and update just as expected after this initial invisibility of all character sprites.

I've tried debugging, to see if maybe the character names change to an empty string or the sprite visibility flag changes to false, but nothing. All sprites are tagged as visible and their character image has not been changed during this frame.

Does anyone have any idea why this is happening?

Thanks in advance
Post what exactly you're doing, we can't help without seeing the code/event/commands you're using.
[...] Never mind, too diffuse to pin point. I'll look some more into it.

EDIT: The problem was updating a spriteset before adding sprites to it on the same frame (by using addChild()) it somehow prevented it from showing any sprites from the component from that frame. Solution: call the superclass for a sprite after doing all your additions of sprites.

Original thread: https://forums.rpgmakerweb.com/threads/character-sprites-vanishing-for-a-single-frame.50963/