NullReferenceException raised when translating from Any State Node

Forums 💬 NodeCanvas 🗨️ General Discussion NullReferenceException raised when translating from Any State Node

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13907
    wavejumes
    Participant

      Hello,
      As shown in the picture below, if i press ‘A’, i will get a NullReferenceException error.

      [attachment file=”cap.PNG”]

      #13908
      Gavalakis
      Keymaster

        Hello and I am sorry for the late reply.
        To fix this quickly, please open up the offended line (FSM.cs line #122) and change that code of line by wrapping it in a null check like so:

        Let me know if that works for you.
        Thanks you.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.