I’m using a VCAM as a “cutscene camera” for my 2D project. The cutscene VCAM gets enabled when the Timeline for the cutscene starts. The VCAM uses uses a TargetGroup aimed at a GameObject, whose position is animated in the timeline. This works fine.
I also need to be able to zoom in/out during the cutscene, so I am using an Animation Track on the VCAM to animate the Minimum Ortho Size to zoom. This also is fine most of the time.
The problem is that the VCAM randomly seems to switch some sort of mode, which causes the Group Framing Mode section of the VCAM to disappear. This means the Minimum Ortho Size option is now gone, I can’t animate it in Timeline, scrubbing no longer previews the zoom, etc.
What would cause the Group Framing Mode to disappear? Maybe its from something happening while I am running the game, and it isn’t getting reset? It seems to happen randomly, but only if I run the game and trigger the cutscene.
Here you can see that that the Group Framing Mode is normally visible, and that I can animate it in Timeline:
The group framing mode would disappear if the Framing Transposer does not recognize the target as a group. Is it possible that some script is disabling the target group behaviour in the target?
I went for a while without this issue happening, but it just happened again so I took a quick video showing the VCAM and the target (with Target Group).
Again, when I reload the scene it sets everything back to normal. Might I be overlooking something? I’m assuming its something related to Timeline. I don’t think I even entered Playmode this time.
That’s really weird. I can’t think of anything offhand that would make it happen.
Does it still happen if you enable the virtual camera behaviour?
Does it still happen if you change the vcam’s update mode to Always?
I got the same issue.
Enabling/Disabling doesn’t seem to solve the issue. Also changing the update mode doesn’t make the inspector show the Target group info.
It happens for me each time i change a script.
The Group Framing Mode comes back after i press play and stop once. (When in play mode the group framing is not working)
Unity 2020.3.0f1 & Cinemachine 2.6.4.
I created a new empty project but I was not able to reproduce the exact same issue I have.
The Group Framing Mode still disappears after a recompile, but when i press play it comes back immediately (as oppose to after i press stop in my original project)
This is my first time posting a project so a bit unsure if I included everything, I used the ReproProjectWizard to minimize the size.
Just change something in the TestScript to force a recompile and the Group Framing Mode should disappear.
Is is also possible to fix by resetting the follow target, or reselect Framing Transposer as the Body