Author Topic: error message  (Read 28 times)

Offline sarachan

  • Member
  • *
  • Posts: 7
    • View Profile
error message
« on: January 05, 2019, 04:57:36 pm »
Hi Michael,

My tutorial is now running the way I want it to, although I get the error message below with each dialog.  Are you able to determine from the error what the issue is?

Thanks,
Brion

NullReferenceException: Object reference not set to an instance of an object
TutorialDesigner.Dialogue+<TrackDialogueVariables>c__Iterator0.MoveNext () (at Assets/TutorialDesigner/Scripts/Dialogue.cs:812)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
TutorialDesigner.<Work>c__Iterator0:MoveNext() (at Assets/TutorialDesigner/Scripts/StepNode.cs:551)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

Offline Migoun

  • Administrator
  • *****
  • Posts: 46
    • View Profile
Re: error message
« Reply #1 on: January 06, 2019, 07:05:09 pm »
Hi Brion,

what's the dialogue GameObject you are using? It could be that you use some that are using TextMeshPro but didn't load the module into TutorialDesigner:
Window -> TutorialDesigner -> Load TextMeshPro Module

Or did you create the dialogue objects yourself?