Issue when show quest list with DialogueSystem

Announcements, support questions, and discussion for Quest Machine.
Post Reply
thaptam
Posts: 13
Joined: Wed Aug 07, 2019 12:31 pm

Issue when show quest list with DialogueSystem

Post 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.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Issue when show quest list with DialogueSystem

Post 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?
thaptam
Posts: 13
Joined: Wed Aug 07, 2019 12:31 pm

Re: Issue when show quest list with DialogueSystem

Post 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
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Issue when show quest list with DialogueSystem

Post 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
thaptam
Posts: 13
Joined: Wed Aug 07, 2019 12:31 pm

Re: Issue when show quest list with DialogueSystem

Post by thaptam »

Hi Tony,

Thanks for your support package. That fixed the issue.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Issue when show quest list with DialogueSystem

Post by Tony Li »

Glad to help! That patch will also be in the next release version of Quest Machine.
Post Reply