Dialogue System + Invector + Quest Machine
Posted: Mon Sep 02, 2024 6:16 pm
Hi,
I am currently trying to use dialog system and Quest machine with the invector controller,
Something is missing and i can't figure out what, could you help me please ?
The current Dialogue System Invector Locomotion has errors on it's demo scene with missing prefabs in the UI part :/
is there something I missed please :/ ?
I followed the youtube tutorial below :
When I do interact with the NPC i get this error, Thanks a lot for the help
NullReferenceException: Object reference not set to an instance of an object
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.FindMainPlayerActor () (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:367)
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:330)
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:241)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.ShowConversationContent (PixelCrushers.QuestMachine.QuestParticipantTextInfo speaker, PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemConversationQuestContent conversationContent) (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:235)
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:606)
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:725)
PixelCrushers.QuestMachine.QuestGiver.ShowOfferQuest (PixelCrushers.QuestMachine.Quest quest) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:755)
PixelCrushers.QuestMachine.QuestGiver.StartMostRelevantDialogue () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:686)
PixelCrushers.QuestMachine.QuestGiver.StartDialogue (UnityEngine.GameObject player) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:595)
UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) (at /Users/bokken/build/output/unity/unity/Runtime/Export/UnityEvent/UnityEvent.cs:219)
UnityEngine.Events.CachedInvokableCall`1[T].Invoke (System.Object[] args) (at /Users/bokken/build/output/unity/unity/Runtime/Export/UnityEvent/UnityEvent.cs:357)
UnityEngine.Events.UnityEvent.Invoke () (at /Users/bokken/build/output/unity/unity/artifacts/generated/UnityEvent/UnityEvent_0.cs:69)
Invector.vCharacterController.vActions.vTriggerGenericAction+<OnPressActionDelay>d__53.MoveNext () (at Assets/Invector-3rdPersonController/Basic Locomotion/Scripts/CharacterController/Actions/vTriggerGenericAction.cs:145)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at
I am currently trying to use dialog system and Quest machine with the invector controller,
Something is missing and i can't figure out what, could you help me please ?
The current Dialogue System Invector Locomotion has errors on it's demo scene with missing prefabs in the UI part :/
is there something I missed please :/ ?
I followed the youtube tutorial below :
When I do interact with the NPC i get this error, Thanks a lot for the help
NullReferenceException: Object reference not set to an instance of an object
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.FindMainPlayerActor () (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:367)
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:330)
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:241)
PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemQuestDialogueUI.ShowConversationContent (PixelCrushers.QuestMachine.QuestParticipantTextInfo speaker, PixelCrushers.QuestMachine.DialogueSystemSupport.DialogueSystemConversationQuestContent conversationContent) (at Assets/Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support/Scripts/Quest UIs/Dialogue System Quest Dialogue UI/DialogueSystemQuestDialogueUI.cs:235)
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:606)
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:725)
PixelCrushers.QuestMachine.QuestGiver.ShowOfferQuest (PixelCrushers.QuestMachine.Quest quest) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:755)
PixelCrushers.QuestMachine.QuestGiver.StartMostRelevantDialogue () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:686)
PixelCrushers.QuestMachine.QuestGiver.StartDialogue (UnityEngine.GameObject player) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:595)
UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) (at /Users/bokken/build/output/unity/unity/Runtime/Export/UnityEvent/UnityEvent.cs:219)
UnityEngine.Events.CachedInvokableCall`1[T].Invoke (System.Object[] args) (at /Users/bokken/build/output/unity/unity/Runtime/Export/UnityEvent/UnityEvent.cs:357)
UnityEngine.Events.UnityEvent.Invoke () (at /Users/bokken/build/output/unity/unity/artifacts/generated/UnityEvent/UnityEvent_0.cs:69)
Invector.vCharacterController.vActions.vTriggerGenericAction+<OnPressActionDelay>d__53.MoveNext () (at Assets/Invector-3rdPersonController/Basic Locomotion/Scripts/CharacterController/Actions/vTriggerGenericAction.cs:145)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at