Null Reference Exception for conversation
Posted: Mon May 27, 2019 11:25 pm
Hello,
Was wondering if I could get some help on this.
I have a strange error where when I attempt to run a Start Conversation action via the OnUse() function of a Dialogue System Trigger component, I get a null reference exception pointing to the line:
var conversationAsset = DialogueManager.MasterDatabase.GetConversation(conversation);
in DialogueSystemTrigger.cs.
I for sure have the correct conversation picked in the conversation drop down and I had a test conversation working fine before I tried to assign this new conversation. So I'm not sure where the problem is coming from.
Was wondering if I could get some help on this.
I have a strange error where when I attempt to run a Start Conversation action via the OnUse() function of a Dialogue System Trigger component, I get a null reference exception pointing to the line:
var conversationAsset = DialogueManager.MasterDatabase.GetConversation(conversation);
in DialogueSystemTrigger.cs.
I for sure have the correct conversation picked in the conversation drop down and I had a test conversation working fine before I tried to assign this new conversation. So I'm not sure where the problem is coming from.