Whenever I call DialogueManager.currentConversant, it returns null (DialogueManager.currentActor works fine though).
I made sure there's Dialogue Actor component on both gameobjects.
What could be the reason for DialogueManager.currentConversant to return null during a conversation?
DialogueManager.currentConversant always null
Re: DialogueManager.currentConversant always null
Hi,
Temporarily set the Dialogue Manager's Other Settings > Debug Level to Info. Then play the scene in the editor and start a conversation. Look for a line like this in the Console window:
Dialogue System: Starting conversation 'Title' with actor=XXX and conversant=YYY
This will tell you which GameObject is being used as the conversant. If YYY is blank, then it didn't find an appropriate GameObject to use as the conversant. This info might help: Character GameObject Assignments
Temporarily set the Dialogue Manager's Other Settings > Debug Level to Info. Then play the scene in the editor and start a conversation. Look for a line like this in the Console window:
Dialogue System: Starting conversation 'Title' with actor=XXX and conversant=YYY
This will tell you which GameObject is being used as the conversant. If YYY is blank, then it didn't find an appropriate GameObject to use as the conversant. This info might help: Character GameObject Assignments