Unity Issue Tracker - CinemachineVirtualCamera status set to live after Undo operation
Closed
CMCL-1172
CinemachineVirtualCamera status set to live after Undo operation
Package: Cinemachine (Old)
Won't Fix
2.9.X
As designed. Undo operation disables and enables the vcam, therefore making it the most recently activated vcam. When priority numbers are the same, the most recently activated vcam is taken as "Live".
Reproduction Steps:
Open attached project "CinemachineStatus.zip" and scene "SampleScene"
If encountering an error in "CinemachineToolbarOverlay.cs", the entire "CinemachineToolSettingsOverlay" overlay class can be removed for the purposes of reproducing this issue
In Hierarchy window, select "Camera 2"
In Inspector window, observe its "CinemachineVirtualCamera" component's "Status: Standby"
Change "Camera 2" GameObject's position
Undo the operation
In Inspector window, observe its "CinemachineVirtualCamera" component's "Status: Live"
Expected result: Camera's status remains "Standby"
Actual result: Camera's status changes to "Live"