Events disappearing from maps when play testing (OSX)

This is my first time using RPG Maker in years, so to start I made a simple event that turns a switch on or off (depending on state of the switch) upon interaction. I was having issues setting the switch back to off, but after play testing a few times the sprite that contained the event disappeared off the map. I checked to see if it was invisible and there was no collision, so it's definitely not there.

It still shows up in the editor, but I can't get it to appear when I run the game anymore. I was able to add other sprites/events which showed up as normal, though that didn't affect the one giving me this bug.

It's really annoying and I'd rather not continue if this becomes a recurring issue, so any help would be appreciated. Thanks.
It would really help if you would include screenshots of your event. Otherwise, we can only guess at what you've done.


So here's my guess ...


You've added an extra page to your event, and the highest page number has no sprite and no conditions selected. When determining which page to make active, it starts at the highest numbered one and works its way back, until it finds a page with no conditions or a page where all conditions are met.
Oh, now that's embarrassing. My bad.

That's really useful information, too. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/events-disappearing-from-maps-when-play-testing-osx.49275/