Hi Tony
I've just picked up an old project and I've found that dialogues aren't showing when the Dialogue System Trigger is set to On Enter Trigger. It does show as On Startup though.
When my player enters the 2D trigger I get this in the console.
MessageSystem.SendMessage(sender=Dialogue Manager (PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestMachineBridge): Refresh UIs,)
UnityEngine.Debug:Log (object)
PixelCrushers.MessageSystem:SendMessageWithTarget (object,object,string,string,object[]) (at Assets/Plugins/Pixel Crushers/Common/Scripts/Message System/MessageSystem.cs:350)
PixelCrushers.MessageSystem:SendMessage (object,string,string,object[]) (at Assets/Plugins/Pixel Crushers/Common/Scripts/Message System/MessageSystem.cs:453)
PixelCrushers.QuestMachine.QuestMachineMessages:RefreshUIs (object) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Utility/QuestMachineMessages.cs:210)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestMachineBridge:UpdateTracker () (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Bridge/DialogueSystemQuestMachineBridge.cs:167)
UnityEngine.Component:BroadcastMessage (string,UnityEngine.SendMessageOptions)
PixelCrushers.DialogueSystem.DialogueManager:SendUpdateTracker () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Manager/DialogueManager.cs:1160)
PixelCrushers.DialogueSystem.DialogueSystemTrigger:Fire (UnityEngine.Transform) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Triggers/Triggers/DialogueSystemTrigger.cs:790)
PixelCrushers.DialogueSystem.DialogueSystemTrigger:TryStart (UnityEngine.Transform,UnityEngine.Transform) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Triggers/Triggers/DialogueSystemTrigger.cs:762)
PixelCrushers.DialogueSystem.DialogueSystemTrigger:TryStart (UnityEngine.Transform) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Triggers/Triggers/DialogueSystemTrigger.cs:748)
PixelCrushers.DialogueSystem.DialogueSystemTrigger:OnTriggerEnter2D (UnityEngine.Collider2D) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Triggers/Triggers/DialogueSystemTrigger.cs:612)
My Dialogue System Trigger shows Last Check : True. I have a 2D collider on the same object set to Trigger and can see the player is in the Trigger.
Any ideas why this might not be working? I suspect that when I reopened the project (after many years) and installed some updates I failed to install something that's needed.
The Quest Machine Bridge is on the Dialogue Manager object.
Olly
Dialogue not appearing and Refresh UIs
Re: Dialogue not appearing and Refresh UIs
Hi Olly,
Are there any other similar Console lines around this one? This one shows that the Dialogue System Trigger is firing, and it's telling the Dialogue System to update UIs. The bridge component gets this message and in turn tells the Quest Machine UIs to update themselves. But this line doesn't say anything about starting a conversation.
Can you post a screenshot of the Dialogue System Trigger's Inspector?
Are there any other similar Console lines around this one? This one shows that the Dialogue System Trigger is firing, and it's telling the Dialogue System to update UIs. The bridge component gets this message and in turn tells the Quest Machine UIs to update themselves. But this line doesn't say anything about starting a conversation.
Can you post a screenshot of the Dialogue System Trigger's Inspector?
Re: Dialogue not appearing and Refresh UIs
Hi Tony
Nothing else shown. If I clear the console after start (there are a few errors from TopDown in there) and walk up to the trigger, I get that one sole error.
The trigger inspector looks like this. Olly
Nothing else shown. If I clear the console after start (there are a few errors from TopDown in there) and walk up to the trigger, I get that one sole error.
The trigger inspector looks like this. Olly
Re: Dialogue not appearing and Refresh UIs
What is the Dialogue Manager's Other Settings > Debug Level set to? Please make sure it's at least set to Warning. Temporarily set it to Info to log more detailed info for now. Then reproduce the issue. You'll probably see either:
Dialogue System: Conversation triggered on (gameobject) but... (problem)
or:
Dialogue System; Starting conversation 'Welcome to Mum'...
Dialogue System: Conversation triggered on (gameobject) but... (problem)
or:
Dialogue System; Starting conversation 'Welcome to Mum'...
Re: Dialogue not appearing and Refresh UIs
Ok, with it set to Info, and walking in to the trigger, I get this.
Re: Dialogue not appearing and Refresh UIs
Hi,
You probably saw in the logs that none of the nodes linked from <START> are currently valid. That is, their Conditions currently evaluate to false. That's why the conversation isn't starting.
You probably saw in the logs that none of the nodes linked from <START> are currently valid. That is, their Conditions currently evaluate to false. That's why the conversation isn't starting.