-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
NavigationServer3D.set_debug_enabled(true) has no visible effect #81204
Comments
You can currently not change debug at runtime because the nodes that display the debug do not react to it. The NavigationServer debug can be toggled but it is only read by nodes when they are loaded / enter the scene or when their resources change. The old "Visible Navigation" Editor debug menu option for the longest time in Godot was even only read once at game boot and you could not toggle it at all. So this is not bugged and more just like it always was with "runtime" debug in Godot, it is not reactive to changes, and is a lot of work because you need to fix it for each individual debug using node type. Physics debug has the same issues. I agree that this should be changed and work better for runtime debug, that is why there is a proposal for it to change the debug godotengine/godot-proposals#7208 |
I still have this problem for NavigationServer2D in 4.2.2. |
I also still have this problem for NavigationServer3D in 4.2.2. |
@smix8 Maybe my 4.2.2 cherrypick wasn't sufficient to fix the issue for the 4.2 branch? |
@akien-mga |
Godot version
4.1.stable
System information
Windows10, AMD Ryzen 9 5900X, NVIDIA GeForce RTX 3060 Ti, driver version 30.0.15.1179, forward+.
Issue description
When I call NavigationServer3D.set_debug_enabled(true) in editor or debug build, nothing happens.
According to the docs it should have the same effect as enabling "Visible Navigation".
Checking this box during gameplay has also no effect.
Steps to reproduce
Have a navigation region, add a script which calls NavigationServer3D.set_debug_enabled(true), nothing happens.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: