Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
2.7.9
2.8.0-pre.1
Issue ID
CMCL-1224
Regression
No
Cinemachine Virtual Camera Transform and FOV are changed when recompiling scripts
How to reproduce:
1. Open the attached project “IN_15838.zip”
2. Open the “SampleScene” Scene in Scenes and observe “CM vcam1” FOV
3. Enter Play Mode
4. Select “CM vcam1” and observe in the Inspector Transform section
5. Reload the scripts (change something in the “NewBehaviourScript” script and save)
6. Observe the “CM vcam1” FOV and Transform section in the Inspector when “CM vcam1” GameObject is selected
Expected result: Transform and FOV don’t change after the script reload
Actual result: Transform values have been changed and FOV in the Scene View visibly changed
Reproducible with: Cinemachine 2.7.9 (2021.1.0b12), 2.8.0-pre.1 (2021.2.0a19)
Not reproducible with: Cinemachine 2.8.0-pre.1 (2021.2.0a20), 2.8.6 (2021.3.10f1), 2.8.9 (2022.1.17f1), 2.9.0-pre.6 (2022.2.0b8, 2023.1.0a11)
Couldn’t test with: 2020.3.39f1, 2021.1.0a1 - 2021.1.0b11 (due to compiler error)
Reproducible on: Windows 10 Pro
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
I cannot reproduce the issue you mention after script reload (in Cinemachine 2.8.9 or 2.9.2).
You mention in the bug report that the bug is:
Reproducible with: Cinemachine 2.7.9 (2021.1.0b12), 2.8.0-pre.1 (2021.2.0a19), and
Not reproducible with: Cinemachine 2.8.0-pre.1 (2021.2.0a20), 2.8.6 (2021.3.10f1), 2.8.9 (2022.1.17f1), 2.9.0-pre.6 (2022.2.0b8, 2023.1.0a11)
Cinemachine 2.7 is not supported anymore, so if you are using that, please update your Cinemachine to the latest 2.8 or 2.9 versions.