Problems with dropping through conversations

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

Problems with dropping through conversations

Post by bluebuttongames »

Hi there,

So I have a problem where if for whatever reason there isn't a dialogue path to follow when this code is called:

DialogueManager.ConversationView.OnConversationContinueAll ();

I get a logger message:

NullReferenceException: Object reference not set to an instance of an object

Is there a way I can detect if this is going to be valid in code and catch it before it errors out?

Thanks,

BB
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Problems with dropping through conversations

Post by Tony Li »

Would you please click on that NullReferenceException in the Console window, press Ctrl+C to copy it to the clipboard, and then paste the whole thing into a reply? It will include the stack trace, which should help me identify where it's running into the issue.
Post Reply