Main Menu doing something very strange

As the title suggests, the main menu in my project is doing something very strange. When I close the main menu it flashes one of my tilesets for a brief second. The candles, baskets and pots are all from a tileset used on this map. I'm also using Tiled for my mapping, and VisuStella plugins.

I'm really stumped by it.

Screenshot 2026-03-30 at 1.34.24 PM.png
What plugins did you use?
Did you alter any of the plugins?
I don't really alter plugins. Only use their commands within RMMZ.
SF and a couple other folks on here helped me create a couple minor plugins for quality of life stuff, but I don't think those plugins would be causing this.

Screenshot 2026-03-30 at 1.56.07 PM.png

Screenshot 2026-03-30 at 1.56.21 PM.png
This probably doesn't matter, but I'd generally put SFG_Utils towards the top, at the same "level" as VisuStella CoreEngine. It does modify some things in PluginManager, DataManager, and Window_Base.

Did you try disabling plugins a few at a time to narrow down one that might be causing it?
Also, by "main menu" I assume you mean the pause menu? If so:
  1. Does the problem happen reliably, e.g. every single time you close the menu?
  2. Does the problem happen on all maps, or only specific ones?
I remember this glitch from a game I playtested on a very specific location
with the exact same kind of issue in the MV engine.

I don't know if this is a preload issue or multi-frame character frame issue.

as something, somewhere, reload the sheet somehow.

to find out which one cause it, is to turn off the plugin 1 by 1 (leave VS plugins active).
if it doesn't happen, turn 1 plugin and test again, to see when it start happen.

than move it higher or see why it refreshes like that.
This probably doesn't matter, but I'd generally put SFG_Utils towards the top, at the same "level" as VisuStella CoreEngine. It does modify some things in PluginManager, DataManager, and Window_Base.

Did you try disabling plugins a few at a time to narrow down one that might be causing it?
I turned off all the plugins except Visustella Core Engine plugin and their Tiled plugin (as the game won't load without it). The problem still persisted.
Also, by "main menu" I assume you mean the pause menu? If so:
  1. Does the problem happen reliably, e.g. every single time you close the menu?
  2. Does the problem happen on all maps, or only specific ones?
I'm only noticing the problem on this map. And it happens every time i close the pause menu.
I just noticed something. In your Plugin Manager, the TileD plugin is documented as v0.15. The current version, based on the patch notes on Yanfly's site, seems to be v1.02:
I'd try re-downloading the plugin to see if that helps. Otherwise...
I'm only noticing the problem on this map.
Can you think of anything specific you're doing on this map that you aren't doing on the other ones? Maybe a Parallel event with Change Tileset or Player Transfer?
I just noticed something. In your Plugin Manager, the TileD plugin is documented as v0.15. The current version, based on the patch notes on Yanfly's site, seems to be v1.02:
I'd try re-downloading the plugin to see if that helps. Otherwise...
I'm using the most recent version from 2023.
The version you pointed to was from 2020. I'm not sure why that version number is higher. Anyway I redownloaded the plugin and refreshed it in the engine. The error still persists.

Can you think of anything specific you're doing on this map that you aren't doing on the other ones? Maybe a Parallel event with Change Tileset or Player Transfer?
This is the only map using that candle tileset
Ok so - I think I'm on the right track.

First, I checked all of my events to make sure they didn't interact with the tileset. That didn't work.

Next, I went into Tiled and completely removed every layer that uses that tileset. That worked. It no longer flashes the tileset when i exit the paused menu.

I'm not sure what's causing this. The only thing I can think of is RMMZ is very prickly with the json files produced in Tiled. By default Tiled wants to save it as tmj file unless you specifically force it to be json. I've done this by accident in a couple maps, which makes the map useless, even if you resave it as a json. You have to start the whole map by scratch. It's possible I accidentally did this with the tileset. I'm going to recreate the tileset with a new json file and see if that works.

Thanks everyone for your help.

Update - I recreated the json file for the tileset in question and re-added the layers in Tiled.

Everything is working fine. The tileset does not flash when exiting the paused menu.

Lesson Learned: to the best of my knowledge, you have to be very careful when making a json file in Tiled. If you accidentally save the map or tileset as a tmj or any other format, it's best to delete the whole thing and start all over. Simply resaving the tmj as a json appears to carry its own issues.
Edit: posted in the wrong topic
So weird, it's doing it again. It's definitely something in Tiled and not RMMZ.

*Update*

I think I've made some progress on isolating the problem.

I took the affected map and deleted all the layers in Tiled, saved the map, then ran it in MZ. The problem was gone (although it was just a blank/black map). Then I started to add each layer one-by-one, saving the map and running a test play in MZ in-between each step. The error did not appear until I got to the Object layer in the group layer Above (zIndex 4 property in Tiled).
Screenshot 2026-04-03 at 11.21.56 AM.png


I deleted all the objects, and began adding them one-by-one, saving each step and running a test play. The problem didn't appear until I added an object that used a tile animation created in Tiled.
Screenshot 2026-04-03 at 11.57.23 AM.png


I deleted that object and replaced it with the same tile animation, but under a regular tile layer. The problem was gone.
Screenshot 2026-04-03 at 11.58.15 AM.png


Best guess: you cannot use an object with a tile animation in an object layer that has a property zIndex 4. You can however use a tile animation in a tile layer that has a property of zIndex 4. I don't have an explanation for why.

Update - You can use animated objects on all zIndex layers. I'm not sure what is causing the image glitch. The best advice I can share is to isolate which object layer is causing it. Then recreate the object layer adding each object one at a time and test play each step. It won't tell you why it's causing an error, but at least you'll be able to remove the object(s).

Original thread: https://forums.rpgmakerweb.com/threads/main-menu-doing-something-very-strange.183078/