Godot is trashing tileset data when .godot directory is deleted

Godot Version

v4.4.stable.official [4c311cbee]

Question

I’m having an issue where for some reason the Godot editor keeps replacing the resource path of a tileset graphic with a different tileset graphic.

This is happening if I delete the .godot directory. I had always understood that the .godot directory just held temporary files that Godot used to build your project can could be deleted if you were having issues. It also did not need to be included if you were sending your Godot project to a client. However, I’m finding that either deleting or omitting .godot is causing the tileset’s texture property to change.

Strangely, it is changing back to an earlier version of the tileset. I first created res://tilesets/dev2/__continent.png when I was targeting 32x16 isometric tiles. Then it was decided to go with 32x32 tiles to I created res://tilesets/iso_32x32/continent.png. I then swapped the texture in the TileSet and changed a few other parameters. Everything was going fine until a sent a zip of the code to someone else to test, not including the .godot file. When they opened it, the res://tilesets/iso_32x32/continent.png had magically changed back into res://tilesets/dev2/__continent.png. Even on my dev machine if I delete the .godot file, the textures in the Tilesets change back to the wrong resource.

This is having the effect that I am the only one who can build and run this because it breaks on anyone else’s machine.

I have tried creating entirely new Tilesets. I’ve moved and renamed the tile image resources. I’ve searched through the project *.tscn and *.tres files and there are no resource paths including “dev2” anywhere. I have absolutely no idea why Godot keeps substituting these out of date resource paths for the correct ones.

What I keep setting it to:

Reload after deleting .godot:

What it looks like on the dev machine:

What it looks like after .godot is deleted and the project reloaded. It seems to be random whether or not a resource path is changed: