Search Issue Tracker
Fixed in 4.6.2
Votes
0
Found in
4.6.0p1
Issue ID
653598
Regression
No
[HingeJoint2D] Reference angles calculated differently when connecting 2 objects in the editor and in the script
To reproduce this bug:
1. Open the attached project
2. Open 'test' scene
3. Example on top: connected in the editor before runtime
- right: two connected objects without rotation
- left: two connected objects WITH rotation (both the same angle, relative to each other it's the same construction)
The objects are disconnected and connected again in the 'control' script in Start(), it doesn't change anything about their behaviour.
4. Example on bottom: NOT connected in the editor before runtime
-right: two connected objects without rotation
-left: two connected objects WITH rotation (both the same angle, relative to each other it's the same construction)
- The objects are connected in the "control" script in Start()
5. Play the scene
6. Notice the bottom left behaviour looks different
7. It seems to be a problem with calculating the reference angle
Captured repro: http://screencast.com/t/Oew4kyGJe2JV
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Add comment