black flash when using Fade(stay) sequencer command

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
OddMan2
Posts: 29
Joined: Fri Feb 11, 2022 11:14 am

black flash when using Fade(stay) sequencer command

Post by OddMan2 »

Hello, i have the same problem described in this thread:https://www.pixelcrushers.com/phpbb/vie ... ash#p28207
i get a flash when using the Fade stay sequencer command.

this is the sequence:
Fade(stay);
SetContinueMode(false);
  • It doesn't happen in the demo, i tried to add the same sequence to the sergeant grieves conversation and there is no flash.
  • It doesn't happen with Fade(out);
  • i am using using cinemachine
  • unity 2020.3.48, dialogue system version 2.2.37
i think the flash is happening because the canvas get instantiated at runtime with alpha 1, then DS sets the alpha to 0 and fades.
i cannot figure out how to solve this problem, is there some setting i am missing?
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: black flash when using Fade(stay) sequencer command

Post by Tony Li »

Hi,

Does this only happen the first time? Or whenever you use Fade(stay)?
OddMan2
Posts: 29
Joined: Fri Feb 11, 2022 11:14 am

Re: black flash when using Fade(stay) sequencer command

Post by OddMan2 »

Hello, thank you for the quick response!
i made a quick test: it happens only the first time, after that it works fine.
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: black flash when using Fade(stay) sequencer command

Post by Tony Li »

Hi,

Try this patch. It should address the issue:

DS_FadePatch_2023-05-22.unitypackage

This change will be in 2.2.38.
OddMan2
Posts: 29
Joined: Fri Feb 11, 2022 11:14 am

Re: black flash when using Fade(stay) sequencer command

Post by OddMan2 »

Fantastic support. It works!
Thank you, problem solved!
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: black flash when using Fade(stay) sequencer command

Post by Tony Li »

Glad to help!
Post Reply