Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Cinemachine StoryBoard Extension wont work in a Nested Prefab ?

Discussion in 'Cinemachine' started by TL_101, Nov 20, 2019.

  1. TL_101

    TL_101

    Joined:
    Feb 15, 2016
    Posts:
    4
    Hi,

    I am using Unity 2019.2.7f2 and Cinemachine 2.3.4. and I am having an Issue when Creating a Prefab out of a vCam with the StoryBoard Extension.

    It works in a scene

    component.png

    but when I make a prefab out of it, the script ref gets missing

    missing.png

    Also in the Inspectors shows this message. Inspector..png

    I have already deleted and reinstalled Cinemachine in my Project, and also tried creating an empty project... same issue.

    Any advice ?
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,658
    This is a bug in Unity, fixed in 2019.3.
    Conditionally-compiled scripts are not properly recognized in some circumstances, including prefabs.
    Cinemachine has a workaround for it that will become available with the next CM release 2.4.0, so you will be able to continue to use Unity 2019.2.
     
    TL_101 likes this.
  3. TL_101

    TL_101

    Joined:
    Feb 15, 2016
    Posts:
    4
    Okay thanks, then I'll stick with 2019.2 and wait for CM 2.4.