Search Issue Tracker
By Design
Votes
1
Found in
5.2.2f1
Issue ID
738772
Regression
No
[Colliders] The Collision.impulse sometimes returns incorrect values
Steps to reproduce:
1. Open the attached project
2. Open 'scene'
3. Press play
4. Ensure that drawing gizmos is enabled, so that debug lines can be seen
5. Watch as the cube slides along the rail, the cube will either slide off the end of the rail, or hit the rail, bouncing the cube in the air
6.1. If the cube collides with the rail, there will be debug lines draw at the point of the collision
6.2. If it doesn't collide, the cube will reset, giving it another chance to collide
7. When it collides there is a chance that the Collision.impulse direction (green lines) doesn't match the direction of change in velocity caused by the collision (blue lines). If this happens, a message is displayed to alert you (in magenta), and the cube won't be reset, so that the bug can be better seen
Note: This will usually take 3 to 4 times of the cube resetting to produce this bug. If you wish to reset after the bug occurs, press 'Space'.
Reproduced with: 5.2.0f3, 5.2.3f1, 5.3.0f1, 5.4.0a2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Scene Templates are not editable when first opened from the New Scene dialog
- Look Dev window flickers when resizing the window after docking it
- UI breaks when Multiplayer Center window section divider is moved too far
- Adaptive Performance documentation link leads to outdated package documentation when the documentation hyperlink is pressed in the Project Settings window
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
Add comment