Page 1 of 1

black flash when using Fade(stay) sequencer command

Posted: Mon May 22, 2023 6:18 am
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?

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

Posted: Mon May 22, 2023 8:32 am
by Tony Li
Hi,

Does this only happen the first time? Or whenever you use Fade(stay)?

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

Posted: Mon May 22, 2023 9:02 am
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.

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

Posted: Mon May 22, 2023 9:25 am
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.

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

Posted: Mon May 22, 2023 9:50 am
by OddMan2
Fantastic support. It works!
Thank you, problem solved!

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

Posted: Mon May 22, 2023 9:51 am
by Tony Li
Glad to help!