Problems with dropping through conversations
Posted: Wed May 29, 2019 12:47 pm
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
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