Search Issue Tracker
In Progress
Fix In Review for 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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Add comment