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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.