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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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.