Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.3.2p1
Issue ID
765870
Regression
Yes
Spring Joints2D distance values different when added manually and procedurally
1) Open attached project and proceed to "SpringBug" scene.
2) Go into playmode.
Expected result: Crates should hang on the same height.
Actual result: Crate to the left hangs lower than crate to the right.
Note 1: Sphere on the left has Spring Joint2D added in the Editor thus distance parameter is calculated.
Note 2: Sphere on the right has Spring Joint2D added via Script and its distance parameter is automatically set to 1 instead of being calculated based on relative position of both objects as it happens in the Editor
Workaround: You can calculate and set distance after you add Spring Joint2D component.
Reproduced with: 5.3.2p1 5.4.0b3
Does not reproduce with: 5.2.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] FPS does not match the targeted FPS when it is set with Application.targetFrameRate
- RenderPipelineManager.activeRenderPipelineTypeChanged does not detect changes when changing the Render Pipeline Asset outside of Play Mode
- 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
Add comment