Search Unity

Question Why can't I find my VCams in the Cinemachine Blender Settings?

Discussion in 'Cinemachine' started by Reverend-Speed, Apr 19, 2022.

  1. Reverend-Speed

    Reverend-Speed

    Joined:
    Mar 28, 2011
    Posts:
    284
    Hey folks - setting up a Cinemachine Blender Setting in a scene where I have a LOT (20+) of virtual cameras... but I'm only having a few of them show up in the dropdown list. Can anybody identify what the issue is here?

    EDIT:

    Just had an acquaintance suggest the problem relates to my VCams being children of different prefabs, which certainly matches with the cameras that are available in the list. Looking through the CinemachineBlenderSettings source to see if there's a better way to gather 'em...
     
    Last edited: Apr 19, 2022
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,719
    The vcams have to be actually in the scene in order to be detected.
     
  3. Reverend-Speed

    Reverend-Speed

    Joined:
    Mar 28, 2011
    Posts:
    284
    So, the problem was actually much, much more stupid:

    The vcams had been placed as parts of prefabs - hence they didn't iterate their names, eg. "CM vcam fixed (42)".

    Cinemachine Blender Settings uses the 'Name' property of the VCams to identify them on the From and To lists.

    Therefore when you look at the VCam lists in Cinemachine Blender Settings, all the vcams you have laid out throughout the scene appear as a single name, eg. "CM vcam fixed".

    Solution: Name yer damned VCams.
     
    Last edited: Apr 29, 2022
    Gregoryl likes this.