Hey Tony
Has there been any reports on issues with using Unity 6?
I have experienced twice now that while experimenting with some other stuff and test game then suddenly the dialogue UI is not visible?
I revert all actions back and still gone. I have to delete and add a dialogue prefab in again then it appears.
I have made no changes to the dialogue system nor have any of the other changes I worked on have anything to do with UI for instance I change/modify some animations with Umotion pro…
Dialogue UI gone
Re: Dialogue UI gone
Hi,
No reports. I've been using Unity 6 extensively with the Dialogue System, as have many other devs.
If it happens again, try to pinpoint the problem. Are there any errors or warnings in the Console? Did the Dialogue Manager's Display Settings > Dialogue UI field become unassigned? Is it pointing to the wrong UI? Is the correct dialogue UI being used (e.g., the subtitle text's Text field is being set correctly) but the UI isn't visible? If this is the case, on any Canvas Groups in the UI's hierarchy that should be visible, is Alpha set to zero?
No reports. I've been using Unity 6 extensively with the Dialogue System, as have many other devs.
If it happens again, try to pinpoint the problem. Are there any errors or warnings in the Console? Did the Dialogue Manager's Display Settings > Dialogue UI field become unassigned? Is it pointing to the wrong UI? Is the correct dialogue UI being used (e.g., the subtitle text's Text field is being set correctly) but the UI isn't visible? If this is the case, on any Canvas Groups in the UI's hierarchy that should be visible, is Alpha set to zero?
Re: Dialogue UI gone
Hey Tony
Look at this picture.
Going through all your suggestions, I came to see that the Alpha on the canvas group was zero?
How did it became that i don't know?
Also i cant change it in run time. I can disable the whole canvas group then the dialogue UI comes back.
On my first dialouge entry I have below code, which diables the UI first, which you provided from another post and this worked up until today?
Look at this picture.
Going through all your suggestions, I came to see that the Alpha on the canvas group was zero?
How did it became that i don't know?
Also i cant change it in run time. I can disable the whole canvas group then the dialogue UI comes back.
On my first dialouge entry I have below code, which diables the UI first, which you provided from another post and this worked up until today?
Code: Select all
LookAt();
SwitchCamera(CamGuard);
SetDialoguePanel(false, immediate);
AnimatorPlayWait(Spear_STOP_HARO, GUARD_Soldier_Female_EXTRA )->Message(Done);
required SetDialoguePanel(true)@Message(Done);
Continue()@Message(Done)
Re: Dialogue UI gone
Hi,
Something is probably setting the Dialogue Panel's Animator to the Hide state.
Most of the example dialogue UI prefabs that ship with the Dialogue System use an animator that fades the dialogue panel in and out by setting its Canvas Group > Alpha value. If you based your dialogue UI on one of those prefabs, it's using that animator. See if you can figure out why it's going to the Hide state. (This assumes that the animator is indeed going into the Hide state. Otherwise you'll have to look further.) It may have something to do with the SetDialoguePanel(false) command, or maybe with Umotion Pro.
Something is probably setting the Dialogue Panel's Animator to the Hide state.
Most of the example dialogue UI prefabs that ship with the Dialogue System use an animator that fades the dialogue panel in and out by setting its Canvas Group > Alpha value. If you based your dialogue UI on one of those prefabs, it's using that animator. See if you can figure out why it's going to the Hide state. (This assumes that the animator is indeed going into the Hide state. Otherwise you'll have to look further.) It may have something to do with the SetDialoguePanel(false) command, or maybe with Umotion Pro.