Dialogue Not Triggering
Dialogue Not Triggering
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
- Attachments
-
- NPC_2.PNG (37.9 KiB) Viewed 81203 times
-
- NPC_1.PNG (81.56 KiB) Viewed 81203 times
-
- Dialogue_Manager_2.PNG (16.28 KiB) Viewed 81203 times
-
- Dialogue_Manager_1.PNG (66.66 KiB) Viewed 81203 times
-
- Actor_2.PNG (37.86 KiB) Viewed 81203 times
-
- Actor_1.PNG (83.21 KiB) Viewed 81203 times
Re: Dialogue Not Triggering
Hi,
When the scene starts, are there any errors or warnings in the Console window?
When the scene starts, are there any errors or warnings in the Console window?
Re: Dialogue Not Triggering
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.
- Attachments
-
- Database_2.PNG (62.28 KiB) Viewed 77347 times
-
- Database_1.PNG (44.92 KiB) Viewed 77347 times
-
- Console.PNG (55.82 KiB) Viewed 77347 times
Re: Dialogue Not Triggering
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
- Attachments
-
- Fix.PNG (47.94 KiB) Viewed 77316 times
Re: Dialogue Not Triggering
Hi,
The last warning in your Console window screenshot explains the issue:
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.
The last warning in your Console window screenshot explains the issue:
Code: Select all
Dialogue System: Conversation 'New Conversation 1' not found in database.
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.