Search Unity

Timeline - Returning camera when playabledirector has finished?

Discussion in 'Timeline' started by BeautifulFish, Jul 29, 2017.

  1. BeautifulFish

    BeautifulFish

    Joined:
    Sep 25, 2014
    Posts:
    55
    Hey guys,

    Really simple problem that I didn't have trouble with in the beta weirdly. I'm using cinemachine and timeline together. I created a simple, moving cutsequence, however when it ends. The camera isn't returned to my main camera, it stays on the paused cutscene camera.

    Steps:
    - Create empty gameobject and make that a playabledirector component via timeline
    - add a virtual camera to the timeline and animate it
    - trigger the playable at some point in script

    Any help would be appreciated
    Cheers !
     
  2. JakubSmaga

    JakubSmaga

    Joined:
    Aug 5, 2015
    Posts:
    417
    Remember that your main game camera should have the highest priority.
    Just remove 1 frame from your Cutscene camera and it should work. / Or set Duration Mode to fixed lenght and add 1 more frame. - In the last frame it will just switch to your main camera.
     
  3. thierry_unity

    thierry_unity

    Joined:
    Jun 10, 2015
    Posts:
    187
    Hi
    Could you share us a small project where this issue happen? thanks!
     
  4. BeautifulFish

    BeautifulFish

    Joined:
    Sep 25, 2014
    Posts:
    55
    I don't have that project anymore I'm afraid, but if I come across it again I will do.
    Cheers