Error Multiple Dialog System Trigger (Second Dialog Empty)

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Peculian
Posts: 2
Joined: Mon Nov 22, 2021 5:30 am

Error Multiple Dialog System Trigger (Second Dialog Empty)

Post by Peculian »

Hello everyone
I'm trying to show two dialogs inside my game, one is shown OnStart() that is when the game starts and the other one should start when the player goes to a checkpoint called "CheckPoint1".
The problem is that the first dialog is shown without any problem while the second one is shown empty and then it closes right away

The first image shows the Startgame Object which is what starts the dialog at startup. In the dialog system event I simply put a method that when the conversation starts disables the player's movement and when it ends it reactivates it.

The second image shows the object that should show the message when it collides with the player. Also for it I put an event that blocks the player's movement and also one that when the conversation ends disables the collision to the CheckPoint1 object to allow the player to pass and also disables the DialogSystemTrigger associated to the CheckPoint.

Finally I repeat, as an error it shows me an empty dialog. I also tried to keep the dialogsystemtriggers and collisions active to test the message many times instead of just once and strangely the second time it collides with the object it shows the message but the first time (the one that would be needed) it doesn't work.
Attachments
The second image with CheckPoint1 object
The second image with CheckPoint1 object
img2.png (60.53 KiB) Viewed 212 times
The first Image with StartGame object
The first Image with StartGame object
img1.png (52.8 KiB) Viewed 212 times
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Error Multiple Dialog System Trigger (Second Dialog Empty)

Post by Tony Li »

Hi,

Temporarily set the Dialogue Manager's Other Settings > Debug Level to Info. This will log a lot of activity to the Console window.

When you walk the player into CheckPoint1, examine the Console. When the conversation starts, you should see a line like:

Code: Select all

Dialogue System: Starting conversation 'New Conversation 2' with actor=Player Game(Transform) and conversant=CheckPoint1(Transform)
Examine the lines after that, up to the line that indicates that the conversation is ending:

Code: Select all

Dialogue System: Conversation ending.
It should give you some insight into what's going on.

If the logs look correct, maybe the dialogue UI is the issue. Make sure its Animator isn't accidentally hiding the UI while the conversation is active.
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Error Multiple Dialog System Trigger (Second Dialog Empty)

Post by Tony Li »

I try with another Dialog UI and I saw that I have the problem with the Visual Novel Dialog UI and not with basic Dialog UI. How can I fix it?
Does Other Settings > Debug Level = Info provide any additional information?

When you use the VN Template Standard Dialogue UI (which is what I assume you mean), are there any errors or warnings in the Console window?

What are the settings on your Dialogue Manager GameObject > Subtitle Settings section?

Please feel free to send a reproduction project to tony (at) pixelcrushers.com. I'll be happy to take a look.
Post Reply