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

Question Scripts attached to camera not executing in Timeline playback

Discussion in 'Cinemachine' started by Tchotchke9366, Aug 24, 2022.

  1. Tchotchke9366

    Tchotchke9366

    Joined:
    Jan 24, 2021
    Posts:
    7
    I have two virtual cameras, one that does a drone flight across a terrain on a dolly track, and another that simply circles around an object. I built a timeline that successfully transitions from one to the other but the script that rotates the camera is not executing when performing playback from the Timeline window. If I play my full project though, the script runs as expected.

    Here's the Timeline
    upload_2022-8-23_22-32-10.png

    And here's the virtual camera w/ the script attached that's not executing
    upload_2022-8-23_22-34-5.png

    Is this the intended behavior?
     

    Attached Files:

  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,658
    Yes, that is expected. Timeline preview mode does not enter play mode.