Is there a way to close Window nodes that are not embedded?

Godot Version

Godot v4.2.stable - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (NVIDIA; - Intel(R) Core™ i7-10700F CPU @ 2.90GHz (16 Threads)


I am trying to do some stuff with debug windows, it’s not really important for this purpose but I could see the same issue arising if I wanted to make a platformer that utilised windows as a niche mechanic.

I am trying to close or hide windows that are not embedded. If I call hide() on them, godot crashes. If I call queue_free(), the window remains in existence, even though godot has relinquished control of it.

Is there a different way to achieve what I am looking for here or is this a bug?

Repro project available here:

Hide seems to work, even on my project here - I have an older version without it working. I’ll have to find the diff

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.