Can't link actors from database to Dialogue Actor script

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
jjpixelc
Posts: 44
Joined: Sun Mar 01, 2020 1:04 pm

Can't link actors from database to Dialogue Actor script

Post by jjpixelc »

Hi

I am using Dialogue System with Adventure Creator and everything has been working fine untill now.

But all of a sudden, a few days ago, the actors I create in the Dialogue Database, do not show up in the drop-down list of the Dialogue Actor script that I put on actor gameobjects in the scene.
Only older actors do - not newly created ones.
One older actor that I recently renamed in the database, shows up under his old name in the script drop-down and when I choose him he gets set in the text field of the the script with his new name - not the old one.

Any idea what could be wrong?
Is there some update or syncing between AC and DS I have to do?
User avatar
Tony Li
Posts: 22166
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can't link actors from database to Dialogue Actor script

Post by Tony Li »

Hi,

Make sure you're using the same dialogue database asset in the Dialogue Editor window, Dialogue Manager GameObject's Initial Database field, and Dialogue Actor's Reference Database field.
jjpixelc
Posts: 44
Joined: Sun Mar 01, 2020 1:04 pm

Re: Can't link actors from database to Dialogue Actor script

Post by jjpixelc »

Yes, checked that over and over again - it was the only thing I could think of myself.
Thing is, conversations work fine when I enter in the name manually in the actor field of the Dialogue Actor script (as long as I enter the exact that is in the database, of course).
So it's no catastrophy at all - but just a curiosity that I don't get the names in the drop down.
User avatar
Tony Li
Posts: 22166
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can't link actors from database to Dialogue Actor script

Post by Tony Li »

Are there any errors or warnings in the Console window?

In the Project view's search bar, enter:

Code: Select all

t:DialogueDatabase
Do you see more than one database? You might see an auto-backup version of your main database. That's OK, but make sure you've been adding actors to your main database and not the auto-backup version.
jjpixelc
Posts: 44
Joined: Sun Mar 01, 2020 1:04 pm

Re: Can't link actors from database to Dialogue Actor script

Post by jjpixelc »

I do see more than those 2, yes.
But none of the others are active in the project - I hope :-)
Here's the list:

Demo Database
Demo Dialogue Database
Dialogue Database
Dialogue Database (auto-backup)
Multiple UIs Example Database

"Dialogue Database" is the one I use.
User avatar
Tony Li
Posts: 22166
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can't link actors from database to Dialogue Actor script

Post by Tony Li »

Double check that Dialogue Database is assigned to the Dialogue Manager in the actor's scene and to the Dialogue Actor's Reference Database field. It also wouldn't hurt to double check that the Dialogue Editor is open on the same database and the Actors list looks correct.
Post Reply