Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2020.3.X, 2021.2.X, 2022.1.X
Votes
0
Found in
2020.3.14f1
2020.3.23f1
2021.2
2022.1
Issue ID
1384707
Regression
Yes
HingeJoint2D reactionTorque is Zero AND Joint Break Torque does not exceed threshold.
Reproduction steps:
1. Load the attached "case_1384707.zip" and open the "TestHinge2D" scene.
2. Select the "LongBox" GameObject.
3. Observe the "Test Hinge Joint 2D" script ("Torque", "MinTorque" & "MaxTorque" Properties)
4. Observe the "HingeJoint2D" component ("Break Torque" Property)
5. Enter Play Mode
Expected result: Torque is non-zero and likely negative. The minimum torque exceeds the HingeJoint2D Torque Break Limit (1000) which should destroy the HingeJoint2D.
Actual result: Torque is 0 therefore the minimum torque never exceeds the HingeJoint2D Torque Break Limit (1000) so it is not destroyed.
Reproduced in: 2020.3.14f1, 2020.3.23f1, 2021.2.5f1, 2022.1.0b1
Not Reproduced in: 2019.4.33f1, 2020.3.13f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
This was caused by upgrading the latest Box2D b2RevoluteJoint (used for the Unity HingeJoint2D) to fix the following case: https://issuetracker.unity3d.com/issues/hingjoint2d-overextends-angle-limits-when-motor-speed-values-are-high
Unfortunately this came with a Box2D bug which has now been fixed and applied to Unity. More details on the bug can be found on the Box2D GitHub site here: https://github.com/erincatto/box2d/pull/653
This is now fixed on Unity Version 2022.2.0a1
Resolution Note (fix version 2022.1):
This is fixed on Unity Version 2022.1.0b3
Resolution Note (fix version 2021.2):
This is fixed on 2021.2.8f1
Resolution Note (fix version 2020.3):
This is fixed on Unity Version 2020.3.26f1