Page 1 of 2

Quest not registered with Quest Machine

Posted: Fri Nov 20, 2020 5:23 pm
by TangledRays
Hi, I have looked at the other threads to do with this but my conversation still won't start with this error, thanks for any help :)

Code: Select all

Quest Machine: A quest instance with ID 'GreatGrandmamasQuest' is not registered with Quest Machine.
UnityEngine.Debug:LogWarning(Object)
PixelCrushers.QuestMachine.QuestMachine:GetQuestInstance(String, String) (at D:/buzby/Documents/Unity Projects/Hungry Frog Attack Attack/Felicity Toad 15-05-18/Felicity Toad (0.15)/Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest Machine/QuestMachine.cs:426)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestMachineBridge:GetQuestInstance(String, String) (at D:/buzby/Documents/Unity Projects/Hungry Frog Attack Attack/Felicity Toad 15-05-18/Felicity Toad (0.15)/Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Bridge/DialogueSystemQuestMachineBridge.cs:273)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestMachineBridge:GetQuesterQuestState(String, String) (at D:/buzby/Documents/Unity Projects/Hungry Frog Attack Attack/Felicity Toad 15-05-18/Felicity Toad (0.15)/Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Bridge/DialogueSystemQuestMachineBridge.cs:280)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestMachineBridge:GetQuestStateOnDefaultPlayer(String) (at D:/buzby/Documents/Unity Projects/Hungry Frog Attack Attack/Felicity Toad 15-05-18/Felicity Toad (0.15)/Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Bridge/DialogueSystemQuestMachineBridge.cs:410)
PixelCrushers.DialogueSystem.QuestLog:CurrentQuestState(String) (at D:/buzby/Documents/Unity Projects/Hungry Frog Attack Attack/Felicity Toad 15-05-18/Felicity Toad (0.15)/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Quests/QuestLog.cs:282)
PixelCrushers.DialogueSystem.QuestLog:GetQuestState(String) (at D:/buzby/Documents/Unity Projects/Hungry Frog Attack Attack/Felicity Toad 15-05-18/Felicity Toad (0.15)/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Quests/QuestLog.cs:270)
PixelCrushers.DialogueSystem.QuestLog:IsQuestInStateMask(String, QuestState) (at D:/buzby/Documents/Unity Projects/Hungry Frog Attack Attack/Felicity Toad 15-05-18/Felicity Toad (0.15)/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Quests/QuestLog.cs:462)
PixelCrushers.DialogueSystem.QuestLog:GetAllQuests(QuestState, Boolean, String) (at D:/buzby/Documents/Unity Projects/Hungry Frog Attack Attack/Felicity Toad 15-05-18/Felicity Toad (0.15)/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Quests/QuestLog.cs:1075)
PixelCrushers.DialogueSystem.QuestLog:GetAllQuests(QuestState) (at D:/buzby/Documents/Unity Projects/Hungry Frog Attack Attack/Felicity Toad 15-05-18/Felicity Toad (0.15)/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Quests/QuestLog.cs:999)
PixelCrushers.DialogueSystem.<RefreshAtEndOfFrame>d__28:MoveNext() (at D:/buzby/Documents/Unity Projects/Hungry Frog Attack Attack/Felicity Toad 15-05-18/Felicity Toad (0.15)/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/UI/Standard/Quest/StandardUIQuestTracker.cs:211)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Re: Quest not registered with Quest Machine

Posted: Fri Nov 20, 2020 5:30 pm
by TangledRays
Sorry completely forgot to mention I am using the Dialogue System integration, and Corgi Engine.

Re: Quest not registered with Quest Machine

Posted: Fri Nov 20, 2020 7:28 pm
by Tony Li
Hi,

Is the quest with ID 'GreatGrandmamasQuest' added to the quest database, and is that quest database assigned to the Quest Machine GameObject?

Is the quest also assigned to the NPC's Quest Giver component > Quests list?

Re: Quest not registered with Quest Machine

Posted: Sat Nov 21, 2020 7:56 am
by TangledRays
Hi Tony, thank you for helping me. Yes on both accounts, could it be something to do with the Lua drop downs, not sure if I've found them? My quest giver is ID and named the same but I'm not certain as to whether I need to work specifically through lua or if I can continue as I am. I have the quest set to start on use and to trigger the Dialogue System conversation. It worked until I tried adding the quest to trigger at the end of the conversation, in the dialogue editor. I've obviously got something wrong somewhere, but just can't see it.

Re: Quest not registered with Quest Machine

Posted: Sat Nov 21, 2020 8:34 am
by TangledRays
Image

Re: Quest not registered with Quest Machine

Posted: Sat Nov 21, 2020 8:40 am
by TangledRays
Image

Re: Quest not registered with Quest Machine

Posted: Sat Nov 21, 2020 9:51 am
by Tony Li
Hi,

When Quest Machine's Debug checkbox is ticked, the QM+DS integration reports this warning when it's not actually true:

Quest Machine: A quest instance with ID 'XXX' is not registered with Quest Machine.

If you play the QM+DS integration's demo scene with Debug ticked, you'll see that it incorrectly reports the warning there, too, even though everything works correctly. That incorrect warning will be fixed in the next update (coming soon).

That said, I don't know why your conversation isn't starting.

Why are you calling Quest.Initialize?

Would it be possible for you to please send a reproduction project to tony (at) pixelcrushers.com? If so, please include the steps I should follow to reproduce the issue.

Re: Quest not registered with Quest Machine

Posted: Sat Nov 21, 2020 10:16 am
by TangledRays
Image

I set Quest Initialise at the end of the conversation as noted by the star, I wanted it to trigger at this point, have I misunderstood something? It was at this point that the conversation broke, I tried removing it but it was still broken, so I added it again to try and fix the issue. I'll see what happens if I remove it and force a re-import. Thanks for your help :)

Re: Quest not registered with Quest Machine

Posted: Sat Nov 21, 2020 10:36 am
by Tony Li
Quest.Initialize() probably doesn't do what you think it does. It only initializes internal variables.

What do you want to happen at that point? Give the quest to the player?

Re: Quest not registered with Quest Machine

Posted: Sat Nov 21, 2020 12:26 pm
by TangledRays
Yes, I want the quest to start at the end of the conversation