Dialogue not appearing and Refresh UIs
Posted: Mon Sep 23, 2024 10:42 am
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
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