Watches Tab Empty?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Unrighteous
Posts: 36
Joined: Thu Mar 17, 2022 5:32 pm

Watches Tab Empty?

Post by Unrighteous »

Hello,

I've just noticed that my "Watches" tab is empty when I enter play mode. I remember there used to be options here; have they been moved elsewhere? or am I experiencing a different issue? I've tried resizing the window, re-importing the dialogue system, and deleting/re-creating my Library folder, all to no avail.

Watches.PNG
Watches.PNG (11.07 KiB) Viewed 408 times

Any help is greatly appreciated.

Thank you.
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Watches Tab Empty?

Post by Tony Li »

Hi,

What errors or warnings are in the Console window?
Unrighteous
Posts: 36
Joined: Thu Mar 17, 2022 5:32 pm

Re: Watches Tab Empty?

Post by Unrighteous »

Hey,

No errors or warnings, but I did figure out the issue.

My dialogue manager was inactive by default to keep the UI out of the way in the scene view, and I was activating it on the first frame of the game. I now realize this was a bad idea, as it was this that was causing the watch tab to be blank.

Instead, I'll keep the dialogue canvas inactive, and activate it at runtime.

Problem solved, thanks for the reply!

Take care!
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Watches Tab Empty?

Post by Tony Li »

Hi,

Thanks for explaining your solution. It could be helpful to others in the future.

BTW, there are some other ways to keep your UI out of the way in the scene view without having to do anything special at runtime:

- If your dialogue UI is an instance inside the Dialogue Manager's Canvas (or any canvas for that matter), deactivate its Dialogue Panel and Alert Panel child GameObjects. The Dialogue System will activate them as needed at runtime. You can do the same with the quest log window if it's an instance.

- Or make those UIs into prefabs. Assign the dialogue UI prefab to the Dialogue Manager's Dialogue UI field. Assign your other prefabs (quest log window, etc.), to the Instantiate Prefabs component.
Unrighteous
Posts: 36
Joined: Thu Mar 17, 2022 5:32 pm

Re: Watches Tab Empty?

Post by Unrighteous »

This is actually really great to know. I think I will take your suggestion to make it into a prefab. I won't have to mess with anything else that way.

Thanks again!
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Watches Tab Empty?

Post by Tony Li »

Glad to help!
Post Reply