I wanted to edit a scene derived from Window in Godot 4 alpha. The scene was created in 3.4 for an add-on. The editor renders the window border, but the content is either black or filled with garbage. Here's a simplified version, only with a button as child:
The content shows the "View dropdown" because I opened it before and toggled the 'Visible' flag of the window a few times.
The scene renders correctly when I run it:
Steps to reproduce
1) Create a new scene derived from button.
2) Open an editor dropdown (for example the 'View' dropdown). Otherwise the content will probably just be black.
3) Toggle 'Window->Flags->Visible' a few times.
Godot version
v4.0.alpha.custom_build [dc4483a3a]
System information
Windows 10, Vulkan Mobile, NVIDIA TI 1200
Issue description
I wanted to edit a scene derived from Window in Godot 4 alpha. The scene was created in 3.4 for an add-on. The editor renders the window border, but the content is either black or filled with garbage. Here's a simplified version, only with a button as child:
The content shows the "View dropdown" because I opened it before and toggled the 'Visible' flag of the window a few times.
The scene renders correctly when I run it:
Steps to reproduce
1) Create a new scene derived from button. 2) Open an editor dropdown (for example the 'View' dropdown). Otherwise the content will probably just be black. 3) Toggle 'Window->Flags->Visible' a few times.
Minimal reproduction project
godot4-window-render-problem.zip