Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan: SDFGI Spams console after a Light3D with dynamic bake mode has been removed from the scene #62852

Closed
Szotyi2501 opened this issue Jul 9, 2022 · 2 comments

Comments

@Szotyi2501
Copy link

Godot version

4.0.alpha11

System information

Windows 10, Vulkan, any GPU

Issue description

When SDFGI is enabled, and an object that has a Light3D node is removed from the scene for example wiht a script, it starts spamming the console with this error message:

E 0:00:01:0759   pre_process_gi: Condition "!li" is true. Continuing.
  <C++ Source>   servers/rendering/renderer_rd/environment/gi.cpp:1895 @ pre_process_gi()

A workaround is to set the Node's visibility to false right before you call queue_free() on it.

Steps to reproduce

Create a new environment with SDFGI enabled, add a Light3D object, then remove it dynamically e.g. with a timer.

Minimal reproduction project

SDFGI_Error.zip

@Calinou
Copy link
Member

Calinou commented Jul 9, 2022

Duplicate of #57840. Thanks for documenting a workaround nonetheless 🙂

@Szotyi2501
Copy link
Author

No problem, I checked this list and it's not here, I think that's why I missed it: #55327

Perhaps you could add the other issue there? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants