Text panel always open at start

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Wooglah
Posts: 4
Joined: Fri Mar 18, 2022 5:53 pm

Text panel always open at start

Post by Wooglah »

Hi!

I'm new to the dialogue system and the past day or so I've been setting up some custom UI (with moderate success). I've basically duplicated the VN template and replaced the images and modified it to my liking, but now I've run into a slight problem. When I play the scene the text panel is already active (I'm pretty sure it's the text panel because I've tried deactivating the response menu etc.). It's also ONLY the text panel that shows up as unwanted UI at the start.

However, after talking to an NPC the panel disappears like normal, so I'm assuming I've missed/ messed up some kind of setting when I was changing things. I've tried every fix my n00b brain can think of and there are no error messages either, so help is greatly appreciated because I have no clue how to fix this. :o
Attachments
UI setup
UI setup
Screenshot1.PNG (84.05 KiB) Viewed 408 times
Text panel at the start of the scene
Text panel at the start of the scene
Screenshot2.PNG (61.53 KiB) Viewed 408 times
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Text panel always open at start

Post by Tony Li »

Hi,

Inspect the Standard Dialogue UI component on the VN Template Standard Dialogue UI 1 GameObject and assign the Dialogue Panel child GameObject to the Main Panel field. Leave the "Don't Deactivate Main Panel" checkbox UNticked.
Wooglah
Posts: 4
Joined: Fri Mar 18, 2022 5:53 pm

Re: Text panel always open at start

Post by Wooglah »

Hi again,

I checked in the inspector and turns out I already have those settings. I also did some more testing and the text panel only disappears after the player has spoken in a dialogue. If I start the scene playing a conversation where only an NPC speaks then the panel remains on the screen afterwards.
Attachments
VN Template Standard Dialogue UI 1 inspector
VN Template Standard Dialogue UI 1 inspector
Screenshot3.PNG (60.26 KiB) Viewed 402 times
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Text panel always open at start

Post by Tony Li »

Hi,

Does the same thing happen with the original VN Template Standard Dialogue UI? For example, as a test try assigning the original prefab to the Dialogue Manager's Dialogue UI field and run a conversation.

Are there any errors or warnings in the Console window?
Wooglah
Posts: 4
Joined: Fri Mar 18, 2022 5:53 pm

Re: Text panel always open at start

Post by Wooglah »

Every template UI prefab works fine and there are no warnings or errors
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Text panel always open at start

Post by Tony Li »

Hi,

Can you export your UI as a unitypackage and email it to tony (at) pixelcrushers.com?
Wooglah
Posts: 4
Joined: Fri Mar 18, 2022 5:53 pm

Re: Text panel always open at start

Post by Wooglah »

Yes, I can do that!
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Text panel always open at start

Post by Tony Li »

Hi,

Thank you for sending the UI package. Please assign Subtitle Panel 1 to the Standard Dialogue UI component's Subtitle Panels list:

assignSubtitlePanel1.png
assignSubtitlePanel1.png (74.36 KiB) Viewed 391 times
Post Reply