Dialogue Panel stuck on hidden
Posted: Tue Jan 25, 2022 11:59 am
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!!
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!!