Page 1 of 1

Dialog System glitch using AC action

Posted: Sun Jun 05, 2016 3:20 am
by kyuubi
Hi,

I am noticing a glitch when the dialog system kicks in for the first time in the game via the adventure creator action.

Basically the game freeze for 1-2sec which creates several timing issues for me. This occurs regardless of when/where I trigger the AC action to call DS. Also it does not happen in play mode, only when I build and run.

This is does not seem to be happening if I call Dialog System directly say through a on trigger enter event.

Do you know if there is any way to overcome this issue?

Re: Dialog System glitch using AC action

Posted: Sun Jun 05, 2016 4:14 am
by kyuubi
Okay so it seems this is related to the default UI somehow (when there is no gameobject attached to the Dialog Manager).

Using the Generic Unity UI fixes the issue.

Re: Dialog System glitch using AC action

Posted: Sun Jun 05, 2016 11:16 am
by Tony Li
Hi,

Glad you got it sorted. Here's the explanation if you're curious: If no dialogue UI is assigned to the Dialogue Manager, the Dialogue System will search the entire scene for a dialogue UI to use. If it doesn't find one, it will load the default UI from a prefab. All of this takes a little time.

Re: Dialog System glitch using AC action

Posted: Mon Jun 06, 2016 8:11 pm
by kyuubi
Thanks Tony,

I have to say I am extremely impressed with both the product and the level of your support.

Cheers,

Re: Dialog System glitch using AC action

Posted: Mon Jun 06, 2016 8:26 pm
by Tony Li
Thanks! :-D