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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
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.