Page 1 of 1

Issue when show quest list with DialogueSystem

Posted: Thu Jan 09, 2020 4:45 am
by thaptam
Hi, I'm using quest machine with DialogueSystemQuestDialogueUI and get this error below when I select a quest in quest list.

Dialogue System: Lua code 'OnSelectQuestMachineQuest("Job_HarvestFlower")' threw exception 'Tried to invoke a function call on a non-function value. If you're calling a function, is it registered with Lua?'

When I turned off DialogueSystemQuestDialogueUI component, everything works fine. Could you help me to fix this? Thank you.

Re: Issue when show quest list with DialogueSystem

Posted: Thu Jan 09, 2020 8:44 am
by Tony Li
Hi,

Did you by any chance untick the DialogueSystemQuestDialogueUI component's Generate Conversation For Quest Lists checkbox?

Does the same error occur in the Dialogue System integration's example scene?

Re: Issue when show quest list with DialogueSystem

Posted: Fri Jan 31, 2020 12:55 am
by thaptam
That issue happens when I check Generate Conversation For Quest Lists checkbox. My project is huge now, so I didn't test with the example scene of DialogueSystemQuestDialogueUI

Re: Issue when show quest list with DialogueSystem

Posted: Fri Jan 31, 2020 9:03 am
by Tony Li
Hi,

Please make sure your Quest Machine GameObject has a DialogueSystemQuestDialogueUI component. If it does, please try this patch:

QM_DialogueSystemSupport_2020-01-31.unitypackage

Re: Issue when show quest list with DialogueSystem

Posted: Sun Feb 09, 2020 10:25 pm
by thaptam
Hi Tony,

Thanks for your support package. That fixed the issue.

Re: Issue when show quest list with DialogueSystem

Posted: Sun Feb 09, 2020 10:38 pm
by Tony Li
Glad to help! That patch will also be in the next release version of Quest Machine.