Page 1 of 1

Dialogue Not Triggering

Posted: Tue Jan 09, 2024 9:40 pm
by NexGen96
Hey guys how is it going? DIalogue system stopped triggering on our game since around march 2022, since a unity upgrate we needed to do in the project. Although now with the latest version of the Dialogue System Update, it stills not triggering. Although since it stopped working we deactivated a few configs in order to avoid bugs. Would be great to make it back to work, and would like to cover any possible config error or more deep troubleshooting if needed in orther to solve this. Even when I change the Trigger condition (On Use, On Start, O Enable) it doesnt work. (YES the NPC has, collider, RB, and Mesh), also the game object of the Actor doesnt have colider nor RB but its father does. Can you guys help me ? Will Attach some pictures named in order to be distinguished fromw hat is from the Actor, NPC and the Dialogue. The Database and the conversation files are ok also. Which makes no sense in my head. Much appreciated. Unity v2021.3.3f1, Dialogue System v 2.2.40.2

Re: Dialogue Not Triggering

Posted: Wed Jan 10, 2024 8:34 am
by Tony Li
Hi,

When the scene starts, are there any errors or warnings in the Console window?

Re: Dialogue Not Triggering

Posted: Sat Jan 13, 2024 6:50 pm
by NexGen96
Hey, saddly no, none error on the console window, except by the warning signals in yellow, which I also tried to cover to check if they were the cause but turns out they aren't either, since the only one that could possibely be the cause of it is the last one that says that could not find the database. Although, it can't be, since the database is there (as we can see in "database" pictures in attachement), and I even used the Merge function of the Dialogue System to assure it were not the cause. What I suspect is that it might some configuration or integration missing.

Re: Dialogue Not Triggering

Posted: Sat Jan 13, 2024 7:13 pm
by NexGen96
Just found the issue. It seems like the database in the public variable "Initial Database" in the Dialogue System Manager gotta be the current Database thats suppose to be the conversation and it was with a different one. Although the Dialogue System haven't thrown any error about it. But the good part is that the issue is fixed. Thank u for the support <3 :)

Re: Dialogue Not Triggering

Posted: Sat Jan 13, 2024 8:15 pm
by Tony Li
Hi,

The last warning in your Console window screenshot explains the issue:

Code: Select all

Dialogue System: Conversation 'New Conversation 1' not found in database.
Keep an eye on errors and warnings in the Console window as you playtest your game. For more info, see also:



Note: If you assign a dialogue database to your Dialogue System Trigger, this assignment is only used to populate the Conversation dropdown. It doesn't mean it will load that database at runtime. (Some games load different databases in and out as the game progresses.) As you've seen, the Dialogue System will load the database assigned to the Dialogue Manager GameObject's Initial Database field. It will also load any databases assigned to Extra Databases components.