Page 1 of 1

Dialogue Panel stuck on hidden

Posted: Tue Jan 25, 2022 11:59 am
by Berza
I have debugged this for quite a while, but i tend to believe it may be a bug in this package.

Situation:
A walking simulator, where player can skip dialogues. Dialogues are only main character commentaries driving the story.
If we keep on spamming the spacebar (skip button), we can land in a weird situation, where dialogues are played, but not displayed, but its hard to reproduce.

The voiceovers are playing correctly, dialogue system is noticing that conversation is active, and all works well, but the DialoguePanel (from one of the standard prefabs provided with the package, after changing the font) is stuck on HIDE animation, bringing canvas alpha to zero in an update manner.

When a next dialogue is played, it is displayed for just a split second, and then it goes to fading to hidden, making it unreadable. And it keeps happening for the oncoming conversations.

A kind of a fix is alt-tabbing out of unity editor or build game, and going back in, but its just a wild guess now is it a fix.

I wouldn't like to rework this pretty cool package just to fix it, so is it any kind of known issue? I saw in the code comments that there were issues with spamming the panels Open / Close. Any ideas would be welcome, as we are shipping the demo soon!! :(

Re: Dialogue Panel stuck on hidden

Posted: Tue Jan 25, 2022 12:50 pm
by Tony Li
Hi,

What version of the Dialogue System are you using?

If you're not on version 2.2.24 or higher, can you please try backing up your project and then updating to the latest version?

Re: Dialogue Panel stuck on hidden

Posted: Wed Jan 26, 2022 2:12 am
by Berza
The ReadMe file states a version of 2.2.9, so i will try to give it an update. :)
Ill post an update on the case.

Re: Dialogue Panel stuck on hidden

Posted: Wed Jan 26, 2022 8:35 am
by Tony Li
Sounds good. Please back up your project first, and look through the release notes in case there are any changes or improvements that you'd want to be aware of.