Page 1 of 1

Problems with dropping through conversations

Posted: Wed May 29, 2019 12:47 pm
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

Re: Problems with dropping through conversations

Posted: Wed May 29, 2019 1:06 pm
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.