Search Issue Tracker
Won't Fix
Won't Fix in 2.8.X
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
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
- Crash on CallWindowProcW when entering Play mode for the second time and running the Editor in the background while using System.Windows.Forms functions
- 2D Freeform Light shadows disappear when light center is offset from shape bounds
- Crash on MarkAllDependencies when opening scenes with Assets from the YarnSpinner package
- Crash on CollectAllSceneManagerAndObjectIDs when opening a specific Scene
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.
Resolution Note (2.8.X):
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.