Closed Kvel2D closed 1 year ago
Weird scenario that temporarily fixes the issue:
Crash comes back if:
Crash doesn't come back if:
So it's possible to stop the crash from happening if you get the editor to the state where Map scene is not being rendered, either by hiding it or switching to Script view.
Noticed that root node of GameScene has type Node2D but then it contains UI CanvasLayer and HUD Control inside. That seemed weird. Checked godot example projects to see how it's done there and found that root node of main scenes is set to Node type.
Tried changing GameScene root node to Node and it appears to have fixed the crash.
Reproducible only on my machine.
Not ready to report issue on Godot github because don't have MRP.
Steps to reproduce for me:
System info from Help->Copy System Info:
Messages in console before crash:
According to this website, error -10 is VK_ERROR_TOO_MANY_OBJECTS - "Too many objects of the type have already been created.": https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkResult.html
Tried clearing godot folders in %appdata%.
Tried opening 10 different sample projects and the editor didn't crash for any of them. https://github.com/godotengine/godot-demo-projects