Page 1 of 1

[2.0] Conversation dialogue panel is displayed once when calling ShowAlert

Posted: Wed Jun 06, 2018 12:22 pm
by mgregoirelds
Hello Tony,

I've been converting some of my custom Dialogue UI to use Standard Dialogue UI and I'm having an issue.

I have a Dialogue UI GameObject that contains both an Alert panel and a Conversation panel. For some reasons, the first time I'm calling DialogueManager.ShowAlert(), an empty Conversation panel is also displayed for less than a second, but it is still displayed. I can't reproduce the bug if I hit a Conversation first... DialogueManager.ShowAlert() must be the first thing I call when I load the game. FYI, I'm using TMP.

Re: [2.0] Conversation dialogue panel is displayed once when calling ShowAlert

Posted: Wed Jun 06, 2018 12:51 pm
by Tony Li
Hi,

Is your dialogue UI a prefab that's assigned to the Dialogue Manager's Dialogue UI field, or is an instance already in the scene at design time?

Please try this: Inspect the dialogue panel. It has a UI Panel component. Set the State State dropdown to Closed.

If that doesn't fix it, and if the dialogue panel is active at design time, please try setting it inactive and replay the scene.

Finally, if that doesn't fix it, compare the Animator components on the alert panel and dialogue panel. Maybe the dialogue panel has an Animator that puts it in a funny starting state.

If any of these fix the issue, please let me know which one did it. I'd like to make the process as easy and failsafe as possible for everyone in the future.

You can also send a reproduction project to tony (at) pixelcrushers.com. I'd be happy to take a look.

Re: [2.0] Conversation dialogue panel is displayed once when calling ShowAlert

Posted: Thu Jun 07, 2018 12:14 pm
by mgregoirelds
Hello Tony,

I've reproduced the problem with the JRPG Template Standard Dialogue UI. I've sent you a repro project by email.

Re: [2.0] Conversation dialogue panel is displayed once when calling ShowAlert

Posted: Thu Jun 07, 2018 11:49 pm
by Tony Li
Hello Maxime,

Thanks for sending the project. I believe this is fixed in patch 20180607, which I sent you in an email. If anyone else needs the patch, please PM me your Unity Asset Store invoice number. The fix will also be in version 2.0.1.