End quest from NPC other than quest giver

Announcements, support questions, and discussion for Quest Machine.
Hiiyan90
Posts: 10
Joined: Tue Apr 20, 2021 9:50 pm

Re: End quest from NPC other than quest giver

Post by Hiiyan90 »

Thanks very much! I have added the line and the debug.log line does in fact appear when I am loading the game and I can confirm that the UIS Game Object Inventory System Manager has Don't Destroy on Load unticked :) I have no warning or errors present in the project fyi.

Here is the full debug log:
Adding item NPC's Letter
UnityEngine.Debug:Log (object)
PixelCrushers.QuestMachine.UISSupport.UISAddItemQuestAction:Execute () (at Assets/Pixel Crushers/Quest Machine/Third Party Support/Opsive UIS Support/Scripts/Actions/UISAddItemQuestAction.cs:32)
PixelCrushers.QuestMachine.QuestNode:SetState (PixelCrushers.QuestMachine.QuestNodeState,bool) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest Node/QuestNode.cs:423)
PixelCrushers.QuestMachine.QuestNode:SetState (PixelCrushers.QuestMachine.QuestNodeState,bool) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest Node/QuestNode.cs:445)
PixelCrushers.QuestMachine.Quest:SetState (PixelCrushers.QuestMachine.QuestState,bool) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest.cs:886)
PixelCrushers.QuestMachine.Quest:RuntimeStartup () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest.cs:759)
PixelCrushers.QuestMachine.QuestListContainer/<RuntimeStartupAtEndOfFrame>d__50:MoveNext () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestListContainer.cs:249)
UnityEngine.GUIUtility:ProcessEvent (int,intptr)
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: End quest from NPC other than quest giver

Post by Tony Li »

It's a bug! A recent feature addition introduced the bug. This patch should fix it:

QM_1_2_15_Patch_2021-04-23.unitypackage
Hiiyan90
Posts: 10
Joined: Tue Apr 20, 2021 9:50 pm

Re: End quest from NPC other than quest giver

Post by Hiiyan90 »

Haha! Awesome. Thanks so much! It's all working great now :D

Thanks again. I think everything is working as i am hoping now. I appreciate it a lot.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: End quest from NPC other than quest giver

Post by Tony Li »

Glad to help! Thanks for letting me know about the bug.
Post Reply