You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a NavigationAgent is a child of NavigationMeshInstance there is noticeable lag even when not in use.
Profiler shows a big spike in Idle Time not coming from any script function. Removing the NavigationAgent and running the scene again removes the spike.
Happens with or without baked NavMesh.
Moving the NavigationAgent somewhere else also removes the spike.
Issue spotted when adding a NavigationAgent node to a RigidBody in character mode to move to a destination (3.4.beta2)
Steps to reproduce
Add a Navigation node, a NavigationMeshInstance as child and a NavigationAgent as child of that.
Run with the Profiler on.
Running the same scene without the NavigationAgent
Minimal reproduction project
Both Main (scene with valid NavMesh) and MinimumTest (just the 3 nodes mentioned above).
Godot version
3.5.beta2 and 3.5.beta4
System information
Windows 10, GLES3, NVIDIA GeForce RTX 2070 Super
Issue description
If a NavigationAgent is a child of NavigationMeshInstance there is noticeable lag even when not in use.
Profiler shows a big spike in Idle Time not coming from any script function. Removing the NavigationAgent and running the scene again removes the spike.
Happens with or without baked NavMesh.
Moving the NavigationAgent somewhere else also removes the spike.
Issue spotted when adding a NavigationAgent node to a RigidBody in character mode to move to a destination (3.4.beta2)
Steps to reproduce
Add a Navigation node, a NavigationMeshInstance as child and a NavigationAgent as child of that.
Run with the Profiler on.
Running the same scene without the NavigationAgent
Minimal reproduction project
Both Main (scene with valid NavMesh) and MinimumTest (just the 3 nodes mentioned above).
NavigationIdleTimeExample.zip
The text was updated successfully, but these errors were encountered: