quest HUD double entries

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Arcanor
Posts: 81
Joined: Sun Oct 05, 2014 4:20 am

quest HUD double entries

Post by Arcanor »

I'm having an issue where when I Track a quest from the Runic Quest Log window, I'm getting double entries in my quest HUD. Here is a screenshot:
quest hud double entries 2015-10-01_17-54-51.jpg
quest hud double entries 2015-10-01_17-54-51.jpg (147.65 KiB) Viewed 886 times
Arcanoria Games - http://www.arcanoria.com - indie game development blog
twitter: https://twitter.com/WaltCollins3 @WaltCollins3
Game titles: Pesticide Patrol, Arcanoria Chronicles, CyberGhost, Arcanoria
PLAY NOW: http://arcanor.itch.io/
Arcanor
Posts: 81
Joined: Sun Oct 05, 2014 4:20 am

Re: quest HUD double entries

Post by Arcanor »

On further investigation, this appears to be related to the UnityUIQuestTracker's "Show Active Quests" toggle. If I turn it off, I no longer get the doubling, and it works fine.
Arcanoria Games - http://www.arcanoria.com - indie game development blog
twitter: https://twitter.com/WaltCollins3 @WaltCollins3
Game titles: Pesticide Patrol, Arcanoria Chronicles, CyberGhost, Arcanoria
PLAY NOW: http://arcanor.itch.io/
User avatar
Tony Li
Posts: 21634
Joined: Thu Jul 18, 2013 1:27 pm

Re: quest HUD double entries

Post by Tony Li »

When the quest tracker HUD updates, it only loops through the quests once, so it shouldn't be able to add two entries by itself.

Do you perhaps have two instances of the UnityUIQuestTracker script in your Dialogue Manager GameObject hierarchy? It looks like you're using the Generic Unity UI Quest Tracker HUD for now. It has a UnityUIQuestTracker script on it; you don't need to add another one to the Dialogue Manager itself.

Or do you have two quests with the same name in your database?
Arcanor
Posts: 81
Joined: Sun Oct 05, 2014 4:20 am

Re: quest HUD double entries

Post by Arcanor »

That would be the reason. I've got one UnityUIQuestTracker that I added to my Dialogue Manager (as it says to do in the documentation at http://www.pixelcrushers.com/dialogue_s ... HUDUnityUI), and there's also one in the HUD prefab. I've disabled the one in the HUD prefab and all's well. Thanks Tony.
Arcanoria Games - http://www.arcanoria.com - indie game development blog
twitter: https://twitter.com/WaltCollins3 @WaltCollins3
Game titles: Pesticide Patrol, Arcanoria Chronicles, CyberGhost, Arcanoria
PLAY NOW: http://arcanor.itch.io/
User avatar
Tony Li
Posts: 21634
Joined: Thu Jul 18, 2013 1:27 pm

Re: quest HUD double entries

Post by Tony Li »

Sorry, I hadn't realized that page was out of date. It's updated now. Thanks for letting me know!
Arcanor
Posts: 81
Joined: Sun Oct 05, 2014 4:20 am

Re: quest HUD double entries

Post by Arcanor »

The new documentation looks good to me. Thanks again Tony!
Arcanoria Games - http://www.arcanoria.com - indie game development blog
twitter: https://twitter.com/WaltCollins3 @WaltCollins3
Game titles: Pesticide Patrol, Arcanoria Chronicles, CyberGhost, Arcanoria
PLAY NOW: http://arcanor.itch.io/
Post Reply