Search Issue Tracker
By Design
Votes
0
Found in
2017.4
2018.4.3f1
2020.1
Issue ID
1194494
Regression
No
HingeJoint Limit is not respected when Game Object is disabled and enabled in Play mode
How to reproduce:
1. Open user's attached project ("JointLimitTest.zip") using the EnvIronman VM (more information in Edit).
2. Open SampleScene scene
3. Enter Play mode
4. Disable and enable Test Game Object
Expected result: HingeJoint Rotation limit is respected
Actual result: HingeJoint Rotation limit is exceeded
Reproducible with: 2017.4.34f1, 2018.4.12f1, 2019.2.11f1, 2019.3.0b9, 2020.1.0a11
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
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
- Memory Leak warnings are thrown when opening an imported Prefab
- Crash on mono_push_other_roots when setting Normal Thread Affinity
- Editor exits Play mode when another project is being created using Unity Hub 3.8.0-beta.1
Resolution Note:
Joint anchors are initialised each time gameobjects are enabled, and are set relative to the current poses. In this particular project, this causes the limit to be 45, 90, and so on because of re-activations.