Originally I had all of my tilesets (not the images) in a “Tilesets” folder as jsons. I made a big map. Working great. Then I realized I should organize my tilesets, so I made another folder within the “Tilesets” folder called “Rain Kingdom.” I moved all of my jsons in there. This, naturally, broke my map.
I relinked the tileset images into all of the tileset jsons in /Rain Kingdom. They don’t give me any errors.
In the actual Map json, it told me the tileset jsons were missing, so I relinked them, no errors.
Except the map is still full of red blocks and boxes.
I checked the json in an editor and it shows the correct path.
“tilesets”:[
{
“firstgid”:1,
“source”:“Tilesets/Rain Kingdom/Rain_TileAuto_CastleWalls.json”
},
I have hit Reload and restarted Tiled, and also my computer.
Is there something else I need to do to fix this? (Note that moving the jsons back into the root Tilesets folder is not fixing the red boxes)
Edit: I changed “Rain Kingdom” to “RainKingdom” thinking maybe the space was the issue, relinked everything again, and now my map is empty / gray instead of red boxed.
Edit2: I forgot I had another map using the same tilesets. I opened that up, relinked everything when prompted. These tiles are appearing correctly. EXCEPT terrains. All of my “autotiles” are red boxed.
Edit3: My heart is broken. The “blank map” from my first edit, I checked the json file, and all of the data are now 0s… It was a large map but I guess I can redo it. I guess the lesson here is - well, back up your maps, first of all - and also don’t touch anything? I didn’t think moving the tilesets would delete my whole map. Though not sure why the second map is intact (except for terrains).