Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2021.1
2021.1.7f1
2021.2
Issue ID
1337451
Regression
No
[Character Joint] Angular Limits change relative to animation when entering the Play mode
How to reproduce:
1. Open the user's attached project and Scenes/SampleScene scene
2. In the Hierarchy window, select OBJECT (see notes)
3. In the Inspector window, under the Character Joint component, select Edit Angular Limits
4. Observe the limits in the Scene view
5. Enter the Play mode
6. Observe the limits in the Scene view
Expected result: Angular limits remain the same
Actual result: Angular limits have changed to be relative to the animation position
Reproducible with: 2019.4.27f1, 2020.3.8f1, 2021.1.8f1, 2021.2.0a18
Could not test with: 2018.4.35f1 (could not downgrade)
Notes:
1. Angular limits change to the correct ones when disabling and re-enabling the GameObject with joint
2. With 2019.4, Unity crashes when disabling GameObject with joint
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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note:
The limit handles that are drawn for the joint use a matrix that comes pretty much directly from PhysX and the joints stay relative to the bodies they are attached to. The Joints have always worked this way, and the recalculation that happens when disabling/enabling the Joint - changes the state of the joint. Changing this behaviour would be a breaking change.