Re: No Dialogue UI found on 'Basic Standard Bark UI
Posted: Tue Dec 29, 2020 2:02 pm
by Tony Li
Hi,
The issue is probably the bark UI's sorting layer. I'll cover the other possibilities first. Then I'll describe how to check the sorting layer.
First, assign the Basic Standard Dialogue UI to the Dialogue Manager's Dialogue UI field. This will resolve the warning 'Dialogue System: No Dialogue UI found on Basic Standard Bark UI.'
Inspect Frog Collider's Dialogue Actor component and set the Actor dropdown.
Temporarily set the Dialogue Manager's Other Settings > Debug Level to Info. When the player enters the Frog's trigger, check the Console window for a log similar to this:
That will let you know that the Dialogue System Trigger successfully triggered the bark.
If those two things look good, let's check the bark UI. Add an instance of the Bubble Template Standard Bark UI as a child of the Frog Collider GameObject. Assign this instance to the Dialogue Actor component's Bark UI Settings > Bark UI field. This will let you check and customize the UI in the scene.
The bark UI should be visible. If it's not, try adjusting the position. If that doesn't fix it, check its Canvas component's Sorting Layer and Order In Layer. Set the Sorting Layer to the highest layer in your project. If it's still not visible, increase the Order In Layer value. This isn't particular to the Dialogue System. It's a step that often needs to be done to make any UI or sprite visible if other elements are covering it due to Unity's sorting layers.
Re: No Dialogue UI found on 'Basic Standard Bark UI
Posted: Wed Dec 30, 2020 4:31 am
by maxrostov
Hi, Thank you for the reply.
See photos of Console info after entering the frog trigger.
Does it look OK?
PS: Looks like the issue was with sorting layers.
The solution was to put the bark UI as a child to the Frog npc, and then change the sorting layer.
Thank you for you help!
Re: No Dialogue UI found on 'Basic Standard Bark UI
Posted: Wed Dec 30, 2020 11:23 am
by Tony Li
Hi,
Glad to help! I can't see the rest of the log entries, but it looks good as far as I can see.