Search Issue Tracker
Fixed in 5.1.0
Votes
3
Found in
5.0.0f1
Issue ID
672446
Regression
Yes
[HingeJoint] Enabling spring resets the "zero"-angle for spring's target position
Enabling the spring resets the "zero"-angle from which the spring calculates its target position. This happens both inside the editor and in the builds.
For example, if the spring's target position is set to 45°, then every time you turn the spring off and on the body will rotate 45° around the joint's axis.
How to reproduce:
1. Open the attached project.
2. Open Demo scene.
3. Press Play.
4. Select the cube.
5. In its HingeJoint component turn "Use Spring" option on.
6. Notice, the cube has rotated 45°.
7. Turn the spring off and on again.
8. goto 6.
or instead of 4,5,6,7,8... just drag'n'drop AutoToggleSpring script onto the cube and observe the same behaviour
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment