Error after adding quest machine.
Posted: Wed Apr 21, 2021 2:15 am
Hello, I am sorry as I think maybe I should have posted this in Quest Machine. I am trying to intergrate the Dialogue System and Quest Machine. When I add the Dialogue System Quest Dialogue UI to the Quest Machine gameobject I get this error when I try to interact with the Quest Giver NPC. Have I made a mistake somewhere? My dialogue system and quest machine seem to work fine without it, but following the tutorial it was odd this happens there so I thought I should ask incase it becomes an issue later.
UnityException: Tag: Willy is not defined.
UnityEngine.GameObject.FindWithTag (System.String tag) (at <a1ac446df41c4a67becf2f8317dc1792>:0)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.GetActorTransform (System.String actorName, System.Boolean tryTag) (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:306)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.GetPlayerActorTransform () (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:315)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.ShowConversation (PixelCrushers.QuestMachine.QuestParticipantTextInfo speaker, System.String title) (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:224)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.ShowGeneratedConversation (PixelCrushers.QuestMachine.QuestParticipantTextInfo speaker, System.Collections.Generic.List`1[T] contents) (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:462)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.ShowContents (PixelCrushers.QuestMachine.QuestParticipantTextInfo speaker, System.Collections.Generic.List`1[T] contents) (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:594)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.ShowOfferQuest (PixelCrushers.QuestMachine.QuestParticipantTextInfo speaker, PixelCrushers.QuestMachine.Quest quest, PixelCrushers.QuestMachine.QuestParameterDelegate acceptHandler, PixelCrushers.QuestMachine.QuestParameterDelegate declineHandler) (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:681)
PixelCrushers.QuestMachine.QuestGiver.ShowOfferQuest (PixelCrushers.QuestMachine.Quest quest) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:715)
PixelCrushers.QuestMachine.QuestGiver.StartMostRelevantDialogue () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:646)
PixelCrushers.QuestMachine.QuestGiver.StartDialogue (UnityEngine.GameObject player) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:585)
PixelCrushers.QuestMachine.QuestGiver.StartDialogueWithPlayer () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:530)
PixelCrushers.QuestMachine.OpsiveUCCSupport.QuestGiverInteractableTarget.Interact (UnityEngine.GameObject character) (at Assets/Pixel Crushers/Quest Machine/Third Party Support/Opsive UCC Support/Scripts/Interaction/QuestGiverInteractableTarget.cs:29)
Opsive.UltimateCharacterController.Traits.Interactable.Interact (UnityEngine.GameObject character) (at Assets/Opsive/UltimateCharacterController/Scripts/Traits/Interactable.cs:101)
Opsive.UltimateCharacterController.Character.Abilities.Interact.DoInteract () (at Assets/Opsive/UltimateCharacterController/Scripts/Character/Abilities/Interact.cs:245)
Opsive.Shared.Game.ScheduledEvent.Invoke () (at <058e839101a04a31a2a60698ff49517e>:0)
Opsive.Shared.Game.SchedulerBase.Invoke (Opsive.Shared.Game.ScheduledEventBase scheduledEvent, System.Int32 index) (at <058e839101a04a31a2a60698ff49517e>:0)
Opsive.Shared.Game.SchedulerBase.FixedUpdate () (at <058e839101a04a31a2a60698ff49517e>:0)
Willy is the main character and I assume it's taking it from the Actors in the dialogue database. I tried to quote the error but the forum thought it was spam so sorry for the messy post.
UnityException: Tag: Willy is not defined.
UnityEngine.GameObject.FindWithTag (System.String tag) (at <a1ac446df41c4a67becf2f8317dc1792>:0)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.GetActorTransform (System.String actorName, System.Boolean tryTag) (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:306)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.GetPlayerActorTransform () (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:315)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.ShowConversation (PixelCrushers.QuestMachine.QuestParticipantTextInfo speaker, System.String title) (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:224)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.ShowGeneratedConversation (PixelCrushers.QuestMachine.QuestParticipantTextInfo speaker, System.Collections.Generic.List`1[T] contents) (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:462)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.ShowContents (PixelCrushers.QuestMachine.QuestParticipantTextInfo speaker, System.Collections.Generic.List`1[T] contents) (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:594)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.ShowOfferQuest (PixelCrushers.QuestMachine.QuestParticipantTextInfo speaker, PixelCrushers.QuestMachine.Quest quest, PixelCrushers.QuestMachine.QuestParameterDelegate acceptHandler, PixelCrushers.QuestMachine.QuestParameterDelegate declineHandler) (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:681)
PixelCrushers.QuestMachine.QuestGiver.ShowOfferQuest (PixelCrushers.QuestMachine.Quest quest) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:715)
PixelCrushers.QuestMachine.QuestGiver.StartMostRelevantDialogue () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:646)
PixelCrushers.QuestMachine.QuestGiver.StartDialogue (UnityEngine.GameObject player) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:585)
PixelCrushers.QuestMachine.QuestGiver.StartDialogueWithPlayer () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:530)
PixelCrushers.QuestMachine.OpsiveUCCSupport.QuestGiverInteractableTarget.Interact (UnityEngine.GameObject character) (at Assets/Pixel Crushers/Quest Machine/Third Party Support/Opsive UCC Support/Scripts/Interaction/QuestGiverInteractableTarget.cs:29)
Opsive.UltimateCharacterController.Traits.Interactable.Interact (UnityEngine.GameObject character) (at Assets/Opsive/UltimateCharacterController/Scripts/Traits/Interactable.cs:101)
Opsive.UltimateCharacterController.Character.Abilities.Interact.DoInteract () (at Assets/Opsive/UltimateCharacterController/Scripts/Character/Abilities/Interact.cs:245)
Opsive.Shared.Game.ScheduledEvent.Invoke () (at <058e839101a04a31a2a60698ff49517e>:0)
Opsive.Shared.Game.SchedulerBase.Invoke (Opsive.Shared.Game.ScheduledEventBase scheduledEvent, System.Int32 index) (at <058e839101a04a31a2a60698ff49517e>:0)
Opsive.Shared.Game.SchedulerBase.FixedUpdate () (at <058e839101a04a31a2a60698ff49517e>:0)
Willy is the main character and I assume it's taking it from the Actors in the dialogue database. I tried to quote the error but the forum thought it was spam so sorry for the messy post.