godot icon indicating copy to clipboard operation
godot copied to clipboard

Editor window stopped updating after baking voxel GI

Open LightShade12 opened this issue 1 year ago • 4 comments

Godot version

4.0 stable

System information

Win 10, x64, Nvidia GTX 1650, Driver version 527.41 ,Vulkan

Issue description

https://user-images.githubusercontent.com/102753608/224232883-1ab79c84-c2de-4d80-8597-aeeb1592de8d.mp4 I'm using forward+ renderer After hitting bake voxelGI, the window pauses refreshing, but the editor is updating fine. After saving this paused project, it cannot be reopened. The editor is stuck in loading screen when trying to reopen the project, and eventually gives "window is not responding" error.

Steps to reproduce

-Set up scene is provided(no advanced project rendering settings are modified) -Hit bake voxel The baking is probably done but screen doesn't update, the mouse cursor changes show that the editor is updating but the window doesn't display it.

Minimal reproduction project

testgi.zip

LightShade12 avatar Mar 10 '23 05:03 LightShade12

What happens if you leave it alone for a few minutes?Baking shouldn't take very long, but sometimes the engine appears frozen even though it is hard at work. It would also be good to check the task manager while it appears frozen to see if it is actively working

clayjohn avatar Mar 10 '23 06:03 clayjohn

What happens if you leave it alone for a few minutes?Baking shouldn't take very long, but sometimes the engine appears frozen even though it is hard at work. It would also be good to check the task manager while it appears frozen to see if it is actively working

Hi. I don't think the engine is frozen, as you can see in the video, the cursor and window can be resized ,while the engine editor window doesn't display the update. Moreover in my test I set the voxel subdiv to 64 and the scene is a small Cornell box. Regardless,I will be posting a screenshot of the task manager after hitting bake soon.

LightShade12 avatar Mar 10 '23 11:03 LightShade12

Before bake: image During bake: image During the freeze, I can click exit and the confirmation popup shows up instantly, but without text buttons, however the its invisible buttons still work: image

LightShade12 avatar Mar 10 '23 11:03 LightShade12

Could you run the engine from the command line and try again? There may be helpful error messages printed to the command line

clayjohn avatar Mar 10 '23 17:03 clayjohn

image This is what i get when i open a scene with baked gi (stuck in loading)

LightShade12 avatar Mar 11 '23 14:03 LightShade12

image image image all these prints quickly upon closing so i recorded and went frame by frame. sry for bad quality

LightShade12 avatar Mar 11 '23 15:03 LightShade12

Consolidating in https://github.com/godotengine/godot/issues/71929.

Calinou avatar Jul 13 '23 22:07 Calinou