Search Issue Tracker
By Design
Votes
1
Found in
5.3.1p2
Issue ID
765395
Regression
No
Spring Joints Anchor and Connected Anchor Y values different when added manually and procedurally
Reproduction step:
1) Open users submitted project and proceed to scene "Spring Bug".
2) Go into playmode and in the scene view try dragging both capsules.
Note: Sphere to the left has Spring joint added via Editor and the sphere to the right has it added via script that is attached to a sphere itself.
Expected result: Spring joint generated via script should have same Anchor and Connected Anchor Y values as one added via Editor(Capsule and sphere are positioned identically relative to each other in both cases)
Actual result: Spring joint Anchor and Connected Anchor Y values differ by 0.5
Workaround: Tweak this values once spring is added.
Reproduced with: 5.3.2p1 5.4.0b3 5.2.4f1 5.1.4f1
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:
This is designed so that it will make a best guess at where the user might want to position the anchors at in the editor, but will not do so with the plain API for perf reasons.