Closed Angular-Angel closed 1 year ago
This issue was fixed once before, but the fix caused a bunch of other issues with text layouts and was eventually reverted. https://github.com/godotengine/godot/pull/73736
I have encountered this freeze as well, it can be caused by an error with our internal shaders (i.e. any shader compiler error not caught in the shader editor). However, I have never had it freeze my desktop, only the Godot application.
Cc @RandomShaper
Good to know. What about the underlying shader error I encountered? The one where a matrix multiplication in the light function causes a billion shader errors? Is that new?
For those wondering about my underlying shader bug, it should be fixed by this PR: https://github.com/godotengine/godot/pull/76290
Godot version
Godot_v4.0.2-stable_linux.x86_64
System information
Issue description
Shaders, specifically those with matrix multiplcation using the view matrics in the light function, will have lots of errors, and if you view these errors they can freeze the entire Godot editor.
Steps to reproduce
Download this project: https://gitlab.com/AngularAngel/godot-shader-problem-example
Load it in Godot, run it, then examine the errors in the debugger. Your Godot Editor should freeze after viewing a few of the errors. I suggest killing the editor soon after, or it may freeze your entire desktop environment and force a computer restart.
Minimal reproduction project
https://gitlab.com/AngularAngel/godot-shader-problem-example
Contact
I am available on Discord at: Angle#9413 if you need to ask me questions!