Portponky / better-terrain

Terrain plugin for Godot 4
The Unlicense
540 stars 25 forks source link

Categories for Tiles Not Working After Restart in Godot #107

Open popema06 opened 1 month ago

popema06 commented 1 month ago

After closing and reopening Godot, the categories for tiles in my plugin are turned off by default. When I turn the categories back on, they work properly in the editor. However, during runtime, the categories no longer work as expected. I am working on level editor and using methods update_terrain_cell and update_terrain_cells. They don't update autotiling within the categories (no connections).

This issue appeared suddenly, and I’m unsure what caused it. It worked perfectly before. The only thing I can think of, I was adding a new tile and tile terrain and then deleting it, but that shouldn't have any effect. Do somebody else have the same problem?

Godot Version: 4.3 stable Plugin Version: 0.2 Operating System: Windows 11

popema06 commented 1 month ago

Update: I tried to reproduce the problem in a new project, and unexpectedly, the original project started working correctly again. I'm not sure if I should leave this issue open, but in case someone else encounters it, I will leave it here for now. It's a mind-boggling bug for sure! Feel free to decide whether to close it or investigate further.