Virtual Camera Presets

Hi,

I am using the latest version of Cinemachine from the Package Manager (v2.2.8)

I want to store a virtual camera as a Preset and load it from an editor script.

Whenever I save a virtual camera component preset, the settings are lost in the preset:

4229242--376105--1.png

If I try to change the Body or Aim settings in the preset, I get an error:

Is there something I am doing wrong or is it not possible to store a virtual camera component as a preset?

Thanks in advance.

Unfortunately you can’t store these as presets. The subcompopnents (composer, transposer, etc) are actually different components, and that paradigm isn’t currently supported by the preset system.

1 Like

Thanks for the reply.

I guess using virtual camera prefabs would be the next best option to achieve what I am trying to do.

Yes, those work, but exercise caution as they are a little delicate. In particular, when editing a vcam prefab always drag it into your scene, edit the instance, then apply back to the prefab.

1 Like