Quest Tracker HUD appearing twice

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
cboogy
Posts: 9
Joined: Tue Nov 26, 2024 4:46 pm

Quest Tracker HUD appearing twice

Post by cboogy »

I've added the Quest tracker HUD from the Dialogue Manager prefabs, and made a few design tweaks. However, now, for some reason, a second Quest Tracker HUD game object is being created upon play, resulting in overlapping UI.

Attaching two screenshots below, one showing the UI issue, and one showing the duplicated Game Object in the Hierarchy.
Attachments
Screen Shot 2024-12-02 at 11.52.47 AM.png
Screen Shot 2024-12-02 at 11.52.47 AM.png (98.25 KiB) Viewed 120 times
Screen Shot 2024-12-02 at 11.52.05 AM.png
Screen Shot 2024-12-02 at 11.52.05 AM.png (92.93 KiB) Viewed 120 times
cboogy
Posts: 9
Joined: Tue Nov 26, 2024 4:46 pm

Re: Quest Tracker HUD appearing twice

Post by cboogy »

In case it's helpful, I'm using the TextMeshPro UI for the Dialogue UI - not sure if that would have any bearing
cboogy
Posts: 9
Joined: Tue Nov 26, 2024 4:46 pm

Re: Quest Tracker HUD appearing twice

Post by cboogy »

I "fixed" this in a really hacky way where I simply moved the prefab Quest Tracker HUD UI elements really far off the canvas — so it's not urgent per se, but ultimately 2 game objects are still being created.
User avatar
Tony Li
Posts: 22200
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Tracker HUD appearing twice

Post by Tony Li »

Hi,

Inspect the Dialogue Manager GameObject's Instantiate Prefabs component and remove the Basic Standard UI Quest Tracker prefab from the Prefabs list. There's no need to instantiate it since you've already added an instance to the Dialogue Manager's Canvas and customized it.
cboogy
Posts: 9
Joined: Tue Nov 26, 2024 4:46 pm

Re: Quest Tracker HUD appearing twice

Post by cboogy »

Thank you so much!
User avatar
Tony Li
Posts: 22200
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Tracker HUD appearing twice

Post by Tony Li »

Glad to help!
Post Reply