When I import an articy xml file within the game and trigger a conversation, it is working fine since the conversation is displayed. However, when I open the Dialogue Database, select my specific dialogue in the Conversations tab and try triggering this conversation in-game, I get the following error:
Code: Select all
NullReferenceException: Object reference not set to an instance of an object
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProTypewriterEffect.PlayText (System.String text) (at Assets/Externals/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Common/TextMeshProTypewriterEffect.cs:223)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSubtitleControls.SetSubtitle (PixelCrushers.DialogueSystem.Subtitle subtitle) (at Assets/Externals/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Dialogue UI/TextMeshProSubtitleControls.cs:201)
PixelCrushers.DialogueSystem.AbstractUISubtitleControls.ShowSubtitle (PixelCrushers.DialogueSystem.Subtitle subtitle)
PixelCrushers.DialogueSystem.AbstractDialogueUI.SetSubtitle (PixelCrushers.DialogueSystem.Subtitle subtitle, Boolean value)
PixelCrushers.DialogueSystem.AbstractDialogueUI.ShowSubtitle (PixelCrushers.DialogueSystem.Subtitle subtitle)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProDialogueUI.ShowSubtitle (PixelCrushers.DialogueSystem.Subtitle subtitle) (at Assets/Externals/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Dialogue UI/TextMeshProDialogueUI.cs:263)
PixelCrushers.DialogueSystem.ConversationView.StartSubtitle (PixelCrushers.DialogueSystem.Subtitle subtitle, Boolean isPCResponseMenuNext, Boolean isPCAutoResponseNext)
PixelCrushers.DialogueSystem.ConversationController.GotoState (PixelCrushers.DialogueSystem.ConversationState state)
PixelCrushers.DialogueSystem.ConversationController.OnFinishedSubtitle (System.Object sender, System.EventArgs e)
PixelCrushers.DialogueSystem.ConversationView.FinishSubtitle ()
PixelCrushers.DialogueSystem.ConversationView.OnFinishedSubtitle ()
PixelCrushers.DialogueSystem.Sequencer.FinishSequence ()
PixelCrushers.DialogueSystem.Sequencer.Update ()