Error with common event

I run random events from the list of common events. They are almost identical in their structure - displaying images and a text window.
BUT! One of the events constantly produces an error.

unnamed.png


What is the reason for this? Do specific plugins affect the error? Or is it because this is the FIRST event from the list?
Do you have a screenshot of the events themselves?
If you want to know whether it's a plugin causing the problem, you can turn off all plugins, save your project to apply Plugin Manager changes, then test.

Based on that error trace, I believe the game is reaching an undefined command when trying to skip over an Else branch. That shouldn't be possible with events constructed in the editor: all Else branches should end with an End Branch. Since it does process the Else command, I think that means the called event exists, but has a malformed command list...that seems very strange, though. 😴

I run random events from the list of common events.
If you're doing this with a script call, I guess you've made a mistake somewhere. It may help if you share a screenshot showing how you run a random event.

They are almost identical in their structure - displaying images and a text window.
Just to mention it: this sounds very inefficient. 😅
Do specific plugins affect the error?
in this case it is unlikely because if a plugin were involved it would have been listed as one of the lines in the error trace.
I would still make the test mentioned above, because there is a small chance of this influence without that marker, but that would have been a very constructed case.

does this error happen if you load a saved game, if you start a new playtest game or in both cases?

we need to see screenshots of the event that you use to randomly call common events, and the event that reports this error.
Because as usual, we can't tell what you did wrong without seeing what you did do.

Original thread: https://forums.rpgmakerweb.com/threads/error-with-common-event.177298/