Search Issue Tracker
Fixed
Fixed in 2.10.4, 3.1.3
Votes
0
Found in [Package]
2.10.3
3.1.2
Issue ID
CMCL-1626
Regression
No
Cinemachine Camera drifts when "Tracking Target" GameObject is set to non zero X or Z Transform coordinates
How to reproduce:
1. Open the attached “IN-90312_BugReport_Cinemachine” project
2. Open “SampleScene”
3. Locate and select the Virtual Camera GameObject in the Hierarchy
4. Enter Play mode
5. Observe the Virtual Camera Transform coordinates in the Inspector window as well as the Camera position in the Game window
Expected result: Virtual Camera stays in a fixed position
Actual result: Virtual Camera drifts to the side
Reproducible with: 2.8.9(2021.3.37f1), 2.10.3(2021.3.47f1, 2022.3.54f1, 6000.0.31f1, 6000.1.0a8), 3.1.2(2022.3.54f1, 6000.0.31f1, 6000.1.0a8)
Reproducible on: macOS 15.1.1 (M1 Max), Windows 11 (by user)
Not reproducible on: No other environments tested
Notes:
- The effect is most noticeable when GameObject Transform coordinates are set to far away: (X:100, Z:100)
- Setting Dead Zone Width to 0 prevents the Virtual Camera from drifting
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Specular lighting visible in a camera with Path Tracing when Preserve specular lighting is disabled in observed material
- Cinemachine package throws CS1061 errors in the Console when installed in a project that has HDRP and URP installed
- Editor.log file size grows rapidly when a scene exceeds the "Maximum Shadow on Screen" limit setting in the HDRP Asset
- Player build freezes after calling Application.Quit() when the scripting backend is set to IL2CPP
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
Resolution Note (fix version 2.10.4):
Camera drift no longer happens.