Is the instance's DialogueActor.actor property being set to the actor's name?
The Dialogue System provides some useful tools for debugging:
If you set the Dialogue Manager's Other Settings > Debug Level to Info, it will log a lot of info to the Console window. You can sift through this to see what's going on under the hood. Look especially for a line similar to:
Code: Select all
Dialogue System: Starting conversation 'Builder' with actor=player and conversant=NpcPrefab
Make sure it's using the right GameObjects.
At runtime, the Dialogue Editor window's Template tab turns into a
Watches tab where you can set watches on variables and general Lua expressions. You can set a watch on the ConversantIndex variable to make sure it's getting set properly.
Finally, you can add a
Lua Console to your scene. I like to put it on the Dialogue Manager. During play, press ~+L to open the console. Then you can enter expressions such as:
Code: Select all
return Variable["ConversantIndex"]
and
Code: Select all
return Actor[Variable["ConversantIndex"]]
If none of that helps, please feel free to send a reproduction project to tony (at) pixelcrushers.com. I'll be happy to take a look.