CinemachinePriority cut parameter not working

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
destrucity
Posts: 24
Joined: Mon Feb 11, 2019 6:29 pm

CinemachinePriority cut parameter not working

Post by destrucity »

Hi!

I am trying to use the sequencer command CinemachinePriority. It works fine, except the "cut" optional prameter only seems to work for the first call to CinemachinePriority.

For example, with this sequence script:

Code: Select all

CinemachinePriority(PeteVcam,99,cut);
CinemachinePriority(JodyVcam,100,cut)@2;
{{default}}
The game will cut to PeteVcam, but then ease in/out to JodyVcam. I can switch the order so that we cut to JodyVcam first, but I can't get two consecutive cuts.

I am on Unity 2019.4.20, Cinemachine 2.7.3 and the academic version of DS 2.2.15. Thanks again for letting me use DS for my class, it's great (and at least some of the students are going on to buy the full version ;) ).
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: CinemachinePriority cut parameter not working

Post by Tony Li »

Hi,

Are there any errors or warnings in the Console window? Maybe a typo in the second command?
destrucity
Posts: 24
Joined: Mon Feb 11, 2019 6:29 pm

Re: CinemachinePriority cut parameter not working

Post by destrucity »

Thanks for the reply!

There are no console warnings / errors and it does turn green when I hit the check button:

Image
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: CinemachinePriority cut parameter not working

Post by Tony Li »

Can you send a reproduction project to tony (at) pixelcrushers.com?
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: CinemachinePriority cut parameter not working

Post by Tony Li »

Summarizing the solution for future readers: In DS version 2.2.16 and earlier, the CinemachinePriority() sequencer command needed to be updated to handle cuts properly with Cinemachine 2.7+.
Post Reply