Search Issue Tracker
By Design
Votes
0
Found in
5.0.0b16
Issue ID
654602
Regression
No
[NavMeshAgent] Changing member "velocity" value, changes only after frame
When you set velocity value to any vector3, it only changes after few frames, not instantly.
1. Open project "Test"
2. Open scene "Test"
3. Play
4. Move object "GameObject" in the scene, "Capsule" going to follow it
5. Click button in the centre of screen "Button", it outputs "Capsule" velocity, then changes it to zero and outputs it again
6. In console you get something like this, for exmaple:
(0.0, 0.0, 1.2)
(0.0, 0.0, 1.2)
But you should get:
(0.0, 0.0, 1.2)
(0.0, 0.0, 0.0)
Reproduced: 4.6.0f1, 5.0.b13, 5.0.b16
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
Add comment