godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.46k stars 21.07k forks source link

Deleting textures/resources from Tileset is permanent even if do not save and you also lose tilemap data #53605

Open chucklepie opened 3 years ago

chucklepie commented 3 years ago

Godot version

3.3 stable

System information

linux mint 19

Issue description

If you delete an entry from the tileset: image

For example I have removed the first texture, as you can see the scene file is marked as updated and needing saving: image

If you then close the scene without saving, when you open, then any changes you have made to the tilemap that do not involve those deleted textures, such as tilemap and config updates updates, are back to normal as you would expect, however, the tileset change is permanent and you have lost not only the entry in the tileset, but every tile is permanently set to -1 and those are lost too.

image

Steps to reproduce

As above, remove a texture, do not save and you lose not only the tileset but every tile in the tilemap that ever used it on re-opening.

Minimal reproduction project

No response

Calinou commented 3 years ago

This is most likely fixed in the new TileMap/TileSet editor in 4.0 as part of its rewrite.

PS: Godot 3.3 is not supported anymore, so please upgrade to 3.3.4 or 3.4 beta6.

chucklepie commented 3 years ago

I figured, but it's a pretty bad bug in my eyes and didn't know if it sounded like a simple fix given 4 isn't it for a while a migration won't happen for a lot of people.

On Sat, 9 Oct 2021, 21:36 Hugo Locurcio, @.***> wrote:

This is most likely fixed in the new TileMap/TileSet editor in 4.0 as part of its rewrite.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/godotengine/godot/issues/53605#issuecomment-939358275, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCERRIDY4NG7QXTQXJ6X7TUGCRWTANCNFSM5FVOOLDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.