Help Understanding "Current Tileset has Incomplete Flags"

Hey everyone,

I've been running into an issue with a custom tileset I installed, it's the Time Fantasy tileset.

Whenever I walk around on the tileset, I receive the error "Current Tileset has Incomplete Flag Data". I've been trying to google search for a while on how to fix this, but I could really use a hand understanding the step by step for solving this one.

I only just started using RPG Maker MZ, so I'm still a novice, but I would assume it has to do with the tileset area where you select which tiles you can walk over and which you can't in the database/tileset section. But beyond that I really don't know what exactly I need to do to solve the error. I'll attach a picture of the error popping up just for reference.

Thank you!
I really don't know what exactly I need to do to solve the error.
Screenshot 2023-02-16 132938.jpg

Did ya try it?

Aside from that, this is an error being generated by a plugin, not the game, so it doesn't actually mean anything bad unless you're trying to use whatever portion of the plugin is looking at that map data.
Yeah, I feel silly now that I figured it out. I was trying to copy from the wrong place, should have just looked for the exact "Copy Page" button haha.

Thanks for the reply 🙂
View attachment 253437
Did ya try it?

Aside from that, this is an error being generated by a plugin, not the game, so it doesn't actually mean anything bad unless you're trying to use whatever portion of the plugin is looking at that map data.
Seriously tho. thank you. I didn't realize until I read your post that "Copy Page" copied the flag data, not the page itself. I thought that was the nuclear option lol
so mine started doing the same thing and not sure what to do or how to fix it any step by step advice
so mine started doing the same thing and not sure what to do or how to fix it any step by step advice
1678553884554.png
I'm having the same issue, but it doesn't show the Copy Page command.
Anyone know why?

Untitled 1.jpg
I'm having the same issue, but it doesn't show the Copy Page command.
Anyone know why?
Because you're not using RPG Maker MZ.
Anyone know why?
as said you're using an older maker that does not have that functionality yet.
and as a consequence the solution is a lot more work for you:
you have to manually check every flag of every problematic tileset and place them if they are missing entries (symbols on the tiles)
@murilloc - you just need to update your editor. The Copy/Paste Page buttons were added in MZ v1.5.0:
Hey, I've had the message about flags come up as well recently. I believe this is what's going on, there's a post about a "Water Tile Bug" on the Visustella Core Engine wiki page. I will paste it here for reference. Anyone else can let me know how their issue is going or if there's anything else someone wants to add. I'm still kind of working through this too, and I don't fully get it, but oh well:

"It seems like there's a new bug that occurs if you create a tileset from scratch in RPG Maker MZ version 1.5.0+ and version 1.6.0+! What this bug does is it causes many tiles to become water tiles without intending to. You can find this out by turning off all the plugins in your project, putting a Ship or Boat on what are normally ground tiles, and then seeing the Ship or Boat traverse through it.

There are two ways to fix this. We cannot fix it through code in this plugin as it's a problem that involves the tileset json data there are ways to work around it so that you can get the proper water-flags to go where they need to be at.

  1. Copy a working un-bugged tileset onto the currently bugged one and reapply the tile features like passability, terrain tags, etc. This will make sure the water-passability tiles get copied over correctly.
  2. If you're on RPG Maker MZ version 1.5.0 or above, select a working un-bugged tileset (usually a pre-existing tileset when a new project is made), click the "Copy Page" button, go to the bugged tileset and press "Paste Page". You'll have to reapply any different properties like passabilities and terrain tags, but the water tile flags should now be working properly.
The plugin will not fix the problem itself since flag data is delicate and should not be tampered with midgame as the changes made by the plugin might not match the desired settings.

This plugin, however, will also send out an alert message when coming across such a tile. Pay attention to it and do one of the following two steps above to fix the problem."


Source: http://www.yanfly.moe/wiki/Core_Engine_VisuStella_MZ
Edit: I may have fixed it.. for now. Original message below:

Hmm.. So I need help. I've now followed the above instructions numerous times, and nothing's working. Including starting a new project, and pasting the pages from the default tilesets into my bugged tilesets. Even that doesn't work.

"Tileset has incomplete flag data."

Does anyone have some solutions for this or advice?

Edit/"Fix":

So, after much painstaking labor with a friend and trying to investigate how everything actually works on the map .json and the tilesets .json, going mostly nowhere, LZYskeptic, I ended up doing the following.

I copied a (supposedly) unbugged tileset's pages, and pasted them onto my bugged tileset. This was not enough, and the specific tiles would still throw the error generated by the Visustella Core plugin to alert me that the tileset had incomplete flag data.

My assumption, after a lot of labor, was that, the tileset was actually fixed, but the map itself still contained tiles with messed up flags of some kind. So, what I did was, in the editor, chose the "area draw" tool. Then with right click, I highlighted the entire map to copy it, and essentially re-pasted it over itself with drag and left click, assuming this would put tiles with proper flags. If you do this, you will need to hold shift when you left click to paste the map over itself, because your auto-tiling can get messed up.

This appears to have fixed at least two offending maps in two different tile sets... For now. :LZYdizzy:

Hopefully anyone else for whom the fix isn't working can benefit from this method.
I think the whole reason this issue initially came about was because of the Visustella "Unique Tile Effects" plugin, which uses those tags to create sinking / falling effects on specific tile types (quicksand and water, etc). I had to make a few bug reports when it was first released, because my characters were falling through EVERY tile, over and over again, which basically made it unusable.

At first they thought there was something weird going on with my custom tilesets, but then discovered that whenever you create a new blank tileset (as I did with ALL of mine), there is no flag data on it by default (and I had no clue that any of that stuff even existed, let alone how to edit it). The temporary work-around they gave me was to copy the original default tileset entries and then replace each page of tiles manually, which worked well enough. The next update quickly rolled out with the Copy/Paste Page functions added in, and that was working fine for me too, up until now...

After getting back to my game just now, I realized that some of my maps continued to give me the error no matter how many times I fixed them -- the same issue ClockworkFigure had -- but thankfully his fix worked.

You could also simply duplicate the map, but that apparently doesn't copy all of my doodad settings. Does anyone know a simple way to do that? I tried a quick search and the only method I could find was for the Yanfly/MV version, and it looked like a real pain.
I realize this is necroing a thread that's over a month old at this point but I wanted to add to it because I had this issue and found something that might help others in the future. For me, the problem actually wasn't the tileset. It was correctly configured, but the reason why I was getting the error message was actually because of a bugged tile on the map itself that was causing the tileset flag data to be corrupted. I noticed that something was up because when I went to configure my flag data, the tiles for A1 through A4 were blank - I literally could not edit any of the flags for those sheets and there were no symbols over them.

After a bit of investigation, I noticed that one of the paths I had placed looked odd; it was a pair of tiles side by side but the one on the right side looked like it was trying to connect to another tile directly above it that did not exist. What fixed it for me was to draw a tile back over the "invisible" tile and then deleted it. Once I did that, the tile that was trying to connect to the tile that didn't exist returned to normal and when I checked my tileset, the flag symbols were back and editable again and once that data was no longer corrupted, the error went away.

My theory is that, at least in my particular case, the json file for the map somehow became corrupted and caused an overflow with the data flags so all the data was garbled.
I hope we can be forgiven for necro-ing as this problem really is... a problem. In my case I had an event that had a custom move route that stretched outside the map. Upon entering the small map, the error that it gave was the one mentioned in the OP. After setting the move route of the character to "FIXED" the error did not pop up anymore. However, now I'm getting the error whenever I click on the event (as in, which the mouse). I can engage the event normally with the keyboard, but when I try to engage it with a mouse click, the error pops up and the game crashes.

So I think of moving the event one tile to the side. Upon loading the game, now I get a different crash:
Spoiler: SCREENSHOT
1689996531798.png

This is quite frustrating...

EDIT: I decided to just delete the map and copy anoter one (all residences, being tents, have the similar layouts), and the problem is gone. Same tileset...

EDIT2: and upon placing events on the map the problem resurfaces... and persists after deleting the events. Dear God what is happening...

EDIT3: I ended up recreating the map from scratch, using the EXACT SAME TILESET. And the error is gone. I'm keeping the bugged map in my project in the hopes that one day I will be able to find out what the exact issue is, but in any case it is NOT resolved with just copy-pasting from a "working" tileset. If anyone is good at json data, attached are the files of the buggy (Map019) and fixed (Map021) maps.
So I think of moving the event one tile to the side. Upon loading the game, now I get a different crash:
Spoiler: SCREENSHOT
From the screenshot you posted, this is a different error than what the thread is about. The thread is about the error "Current tileset has incomplete flag data" whereas your error is "TypeError: Cannot read property 'close' of undefined" which is unrelated, and judging by the screenshot that error is related to the VisuMZ Unique Tile Effects plugin, likely a plugin command misconfigured if I had to guess. I'm glad you got it working but I don't believe it's related to the topic of this thread.
The tileset thing causing a crash IS completely related to VS Unique Tile Effects so yeah, the two are not entirely unrelated. Plus, as I tried to elaborate in my post I ALSO get a tileset error, and the screenshot was of an error that popped up after moving the event to the side.

I realize I should have mentioned that the Tile Effect plugin actually causes the whole thing to crash. If you turn it on, you still get the error but no crash.
The OP's issue was regarding a bug where newly-created tilesets are not assigned the correct "hidden" tile flags. The solution is to copy (the flags from each page of) an existing tileset and work from there. I just tested in v1.7.0 and this still seems to happen.

Tile flags are saved in the map data, so fixing the tileset record is not sufficient: you also have to replace all affected tiles on all affected maps. ClockworkFigure mentioned an easy way to do this, back in May:
the tileset was actually fixed, but the map itself still contained tiles with messed up flags of some kind. So, what I did was, in the editor, chose the "area draw" tool. Then with right click, I highlighted the entire map to copy it, and essentially re-pasted it over itself with drag and left click, assuming this would put tiles with proper flags. If you do this, you will need to hold shift when you left click to paste the map over itself, because your auto-tiling can get messed up.
This doesn't seem to be going anywhere, and the OP's original question was answered back in February, so~

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/help-understanding-current-tileset-has-incomplete-flags.154993/