Page 1 of 1

Can't link actors from database to Dialogue Actor script

Posted: Thu Mar 04, 2021 9:39 am
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?

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

Posted: Thu Mar 04, 2021 10:06 am
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.

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

Posted: Thu Mar 04, 2021 10:33 am
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.

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

Posted: Thu Mar 04, 2021 10:52 am
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.

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

Posted: Thu Mar 04, 2021 11:40 am
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.

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

Posted: Thu Mar 04, 2021 12:22 pm
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.