[SOLVED] 'requestAnimationFrame' and undefined.png causing slowdown and instability

SOLVED! Check last post.

Specs located in the files below along with screenshots of the debug console.

The error is only in one scene of the novel, every other part seems ok. Its built similar to other parts of my game so I dont think I have done something different here. If I start the scene out from the very beginning in the LivePreview it plays out fine, no problems. But if I click midway down to load a particular choice or message, it freezes and begins to become unresponsive.

The little bouncing square flashes on and off the message window with the letter "r"

I think its looking for this file called undefined.png but I cant find it in a new sample game I made just to see if it was a normal file. I am not sure whats wrong, but if I play the game there is no problems, its just something I have encountered when testing and editing.

I am worried though that if a player saves and reloads, they could run into the same kind of problem. Any ideas?


6tcqCYq.jpg 67oTR4e.jpg uo2yAOK.png
Thank you for your reply on Steam Discussions, I will answer it there.

http://steamcommunity.com/app/495480/discussions/1/1621726179585693336/
Posting his solution here! It worked for me 🙂

Kentou [developer] 13 hours ago

Hi, does that happen only in Live Preview? The thing with Live Preview is that it has limitations especially if it comes to choices, labels, loops, etc. If you use Add Choice, there is a field "Default" which you can set to Yes or No to make that choice the default one. That default choice will be picked by Live Preview automatically when it goes through the scene.

Otherwise it can happen hat you click into a part of the scene but that part is unreachable for Live Preview because it gets stuck in a loop where it jumps back to label, then picks the default choice, then jumps back again, etc. but never reaches the spot where you clicked because it can't if you configured the Default choice wrong.

You can imagine Live Preview as this: It super fast goes and evaluates all your commands until the spot where you clicked. (If it can).

Original thread: https://forums.rpgmakerweb.com/threads/solved-requestanimationframe-and-undefined-png-causing-slowdown-and-instability.89686/