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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment