Dialog System glitch using AC action

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
kyuubi
Posts: 52
Joined: Fri May 27, 2016 11:30 pm

Dialog System glitch using AC action

Post 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?
User avatar
kyuubi
Posts: 52
Joined: Fri May 27, 2016 11:30 pm

Re: Dialog System glitch using AC action

Post 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.
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog System glitch using AC action

Post 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.
User avatar
kyuubi
Posts: 52
Joined: Fri May 27, 2016 11:30 pm

Re: Dialog System glitch using AC action

Post by kyuubi »

Thanks Tony,

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

Cheers,
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog System glitch using AC action

Post by Tony Li »

Thanks! :-D
Post Reply