Search Issue Tracker
Fixed
Fixed in 2.10.2, 3.1.2
Votes
0
Found in [Package]
2.10.1
3.1.1
Issue ID
CMCL-1608
Regression
Yes
Cinemachine Camera drifts when having multiple Parent GameObjects in the Project Hierarchy
How to reproduce:
1. Open the attached “IN-83830” Project
2. Locate and open the "Playground" Scene
3. Enter Play mode
4. Locate the "Camera Switcher" GameObject in the Hierarchy and press the "Switch" button in the Inspector window
5. Locate the "Virtual Camera" GameObject in the Project Hierarchy
6. Observe the "Virtual Camera" Transform Position drifting in both the Game window and the Inspector
Expected result: Cinemachine Camera stays in its fixed position after switching into it
Actual result: Cinemachine Camera drifts when having multiple Parent GameObjects in the Project Hierarchy
Reproducible in: 3.1.1(6000.0.19f1, 2022.3.46f1), 2.10.1 (6000.0.19f1, 2022.3.46f1, 2021.3.43f1)
Not reproducible in: 2.10.0 (2020.3.48f1, 2021.3.37f1), 2.6.17 (2020.3.48f1)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
* Ensuring that the Camera object only has a maximum of one Parent GameObject fixes the drift issue
* The issue has been confirmed to be caused by floating-point precision inaccuracies within the Unity Engine when evaluating the Cinemachine camera’s transform.SetPositionAndRotation(transform.position, transform.rotation)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Add comment