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.
Null Reference Exception for conversation
-
- Posts: 5
- Joined: Sun May 12, 2019 1:40 pm
Re: Null Reference Exception for conversation
Hi,
Does your scene have a Dialogue Manager GameObject?
Does your scene have a Dialogue Manager GameObject?
-
- Posts: 5
- Joined: Sun May 12, 2019 1:40 pm
Re: Null Reference Exception for conversation
Sometimes it really is just that easy... I had it disabled.
Thanks Tony.
Thanks Tony.
Re: Null Reference Exception for conversation
Glad that was it! Thanks for making my morning by letting me guess one right on the first try.