Page 1 of 1

Dialogue boxes vanish on play

Posted: Fri Dec 29, 2023 6:20 pm
by PaulG
Hi there,

First up, love the tool, really great work.

We are far in development and it works grand, but we have one big issue on a more complicated cutscene.

We use a sequence to pause a timeline and continue on at the end, this works in all other cases.

But in one specific one we have a conversation which plays and the first line pops up a dialogue and then instantly closes in a second. In the dialogue editor it is flowing normally. All seems fine but the boxes vanish after a short moment.

I have tried many different setups, setting it as replace, everything I can think of, but does anyone know if this is a known issue of something silly on the data side?

Any advise would be appreciated.

Thanks

Paul.

This is our game by the way :)

Re: Dialogue boxes vanish on play

Posted: Fri Dec 29, 2023 8:43 pm
by Tony Li
Hi,

Your game looks great! May I add it to the Games Showcase page?

For the conversation that disappears, is it using a different dialogue UI than your other conversations? If so, maybe the Dialogue Panel's Animator or the subtitle panel's Animator is getting into the wrong state.

If that isn't the issue, does the conversation itself use a SetDialoguePanel(false) sequencer command to hide the dialogue UI?

Re: Dialogue boxes vanish on play

Posted: Sun Dec 31, 2023 2:38 pm
by PaulG
Hello!

Yes please, it would be great to be on your show reel :)

I'll try your suggestions and update. There are indeed three people in the conversation, I'll dig deeper, thank you for the fast reply :)

Paul.

Re: Dialogue boxes vanish on play

Posted: Sun Dec 31, 2023 3:08 pm
by Tony Li
If nothing turns up after you dig deeper, feel free to send a reproduction project to tony (at) pixelcrushers.com. I'll be happy to take a look.

Re: Dialogue boxes vanish on play

Posted: Sun Dec 31, 2023 4:16 pm
by PaulG
Hi there,

Nope, the panels used are consistent for everyone and it appears correctly for a second before closing.

The dialogue tree progresses as normal, although nothing is shown for the remaining nodes.

The first entry pops up for a second then vanishes.

I did a full debug log and it seems to be fine on the outputs, just something appears to be shutting it down after a short delay.

I'm not using any sequencer commands apart from one to pause a time line as it's in a CIN (all the others have the same setup and seems to work great).

Thanks,

Paul.

Re: Dialogue boxes vanish on play

Posted: Sun Dec 31, 2023 4:21 pm
by Tony Li
When this happens, are the dialogue UI GameObject (e.g., Dialogue Panel, subtitle panels) inactive? Or are they active but their Canvas Groups' Alpha values are zero? If the Alpha values are zero, do they have Animators? And, if so, what state are the Animators in?

Re: Dialogue boxes vanish on play

Posted: Thu Jan 11, 2024 8:19 am
by PaulG
After some digging it was an issues with an anim graph doing some alpha blending that seemed to go wrong which resulted in the text bubble vanishing immediately.

Thank you for the swift replies! Much appreciated :)

Paul

Re: Dialogue boxes vanish on play

Posted: Thu Jan 11, 2024 8:28 am
by Tony Li
Hi Paul,

Thanks for the update. I'm glad you were able to get to the bottom of the issue.