Hi everyone.
I'm new on this awesome asset and encounter some problems.
My actual is that my Quest HUD won't display informations.
I use a custom Frame Manager in order to lock my player and manage frames.
I know that Quest Machine is using a special UI.
I try to extends UnityUIBaseUI to my Frame component. It works for Dialogue UI and Journal UI but not for HUD UI.
HUD UI seems to not be updated by Quest Machine.
I try with classic prefab and with demo's quests without success.
May i have broke something but i don't know what.
Can someone help me ?
Thanks.
Quest HUD won't display infos
Re: Quest HUD won't display infos
I've got no error or warning in my Console.
There is my HUD UI when i got a quest : There is my QuestMachineConfiguration at the same time (one quest in journal): And here we got the active section of my quest : It looks like my HUD UI don't receipe the message.
There is my HUD UI when i got a quest : There is my QuestMachineConfiguration at the same time (one quest in journal): And here we got the active section of my quest : It looks like my HUD UI don't receipe the message.
Re: Quest HUD won't display infos
Hi,
Does the Quest HUD work correctly in Quest Machine's Demo scene?
Make sure your quest is being tracked. Inspect the quest's main properties in the Quest Editor window, and check that 'Is Trackable' and 'Show In Track HUD' are ticked. During play, examine the quest in the Quest Journal UI and make sure its tracking checkbox is ticked.
When the player's Quest Journal information changes, it tells the quest HUD to refresh its display (as long as the quest is marked for tracking).
It's possible to assign a quest HUD to the Quest Journal itself. If you have done this, make sure you have assigned a scene instance of the quest HUD and not a prefab. By default, the Quest Journal's Quest HUD field is unassigned, which means it will use the quest HUD that is assigned to the Quest Machine GameObject's Quest HUD field.
If none of that helps, temporarily tick the Quest Machine GameObject's Debug Settings > Debug Message System checkbox. This will log a lot of information to the Console. When the Quest Journal changes (e.g., accept a new quest), verify that you see a message similar to:
MessageSystem.SendMessage(sender=Quest(Clone) (PixelCrushers.QuestMachine.Wrappers.Quest): Quest State Changed,questID)
This is the message that the Quest Journal listens for to know when to refresh the HUD.
Does the Quest HUD work correctly in Quest Machine's Demo scene?
Make sure your quest is being tracked. Inspect the quest's main properties in the Quest Editor window, and check that 'Is Trackable' and 'Show In Track HUD' are ticked. During play, examine the quest in the Quest Journal UI and make sure its tracking checkbox is ticked.
When the player's Quest Journal information changes, it tells the quest HUD to refresh its display (as long as the quest is marked for tracking).
It's possible to assign a quest HUD to the Quest Journal itself. If you have done this, make sure you have assigned a scene instance of the quest HUD and not a prefab. By default, the Quest Journal's Quest HUD field is unassigned, which means it will use the quest HUD that is assigned to the Quest Machine GameObject's Quest HUD field.
If none of that helps, temporarily tick the Quest Machine GameObject's Debug Settings > Debug Message System checkbox. This will log a lot of information to the Console. When the Quest Journal changes (e.g., accept a new quest), verify that you see a message similar to:
MessageSystem.SendMessage(sender=Quest(Clone) (PixelCrushers.QuestMachine.Wrappers.Quest): Quest State Changed,questID)
This is the message that the Quest Journal listens for to know when to refresh the HUD.
Re: Quest HUD won't display infos
Yes my Quest HUD work correctly in Demo.Does the Quest HUD work correctly in Quest Machine's Demo scene?
"IsTrackable", "ShowInTrackHUD" and "tracking" are checked.Make sure your quest is being tracked. Inspect the quest's main properties in the Quest Editor window, and check that 'Is Trackable' and 'Show In Track HUD' are ticked. During play, examine the quest in the Quest Journal UI and make sure its tracking checkbox is ticked.
I've got a message in Debug similar to yours :
MessageSystem.SendMessage(sender=Quest(Clone) (PixelCrushers.QuestMachine.Wrappers.Quest): Quest State Changed,questID)
I didnt' found this field. This is a screen of my QuestJournal inspector : Edit : I try my quest on the demo scene and it works with HUD.It's possible to assign a quest HUD to the Quest Journal itself. If you have done this, make sure you have assigned a scene instance of the quest HUD and not a prefab. By default, the Quest Journal's Quest HUD field is unassigned, which means it will use the quest HUD that is assigned to the Quest Machine GameObject's Quest HUD field.
Re: Quest HUD won't display infos
Hi,
The Quest HUD field is on the player's Quest Journal component. If it's unassigned (the default), the Quest Journal will use the Quest HUD that's assigned to the Quest Machine GameObject's Quest HUD field.
As a test, what if you add your skate park quest to the Demo's quest database and an NPC, and then play the Demo scene and accept the quest? Does it appear in the HUD?
The Quest HUD field is on the player's Quest Journal component. If it's unassigned (the default), the Quest Journal will use the Quest HUD that's assigned to the Quest Machine GameObject's Quest HUD field.
As a test, what if you add your skate park quest to the Demo's quest database and an NPC, and then play the Demo scene and accept the quest? Does it appear in the HUD?
Re: Quest HUD won't display infos
My Quest HUD look like this :
I had my quest and an NPC in demo scene, it works.Re: Quest HUD won't display infos
God i found the "bug".
My QuestJournal component was disable on my Player during play...
Thanks a lot for the help.
My QuestJournal component was disable on my Player during play...
Thanks a lot for the help.
Re: Quest HUD won't display infos
Happy to help. Glad you found the issue!