-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TileSet-related crash when closing the editor #80088
Comments
Maybe it's happening because It should be set elsewhere that the tileset has been disconnected, so it isn't done twice, maybe. Or just check if Interesting that it seems to be happening on the second line rather than the first: 🤔
An MRP with a tilemap and tileset would be handy to reproduce this for those of us who are not used to making tilesets. 😁 |
Can no longer reproduce on master, #80462 might've fixed it accidentally. Here's MRP if someone wants to test anyway: |
Ok it just happened again. I updated the reproduction steps. |
I couldn't get it to reproduce by closing the editor, but I could by closing just the specific scene tab (maybe it was just random chance).
It's crashing here:
Where Whether this is the same bug or just a related bug I don't know. UPDATE:
So this just needs to presumably be called on tilemaps that have not been deleted, but either not here, or by checking their I've added example PR for fixing this, but feel free to do your own just in case I am away this weekend. |
Am suspecting that the original bug mentioned by @KoBeWi is similar. I can't reproduce it (maybe a timing issue?) but if
|
Finally having a look at the original bug. It looks like the problem could be that The
Ok I have a fix based on the above, will PR. Can't guarantee there aren't more bugs in this stuff, but at least it fixes this crash. |
Godot version
4.2 3fa8fad
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
Steps to reproduce
Minimal reproduction project
tilemap.zip
The text was updated successfully, but these errors were encountered: