Cannot convert type `UnityEngine.Object' to `Task'

Forums 💬 NodeCanvas ⚙️ Support Cannot convert type `UnityEngine.Object' to `Task'

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19370
    piotro
    Participant

      Hi Everyone,

      I’m getting following error, while trying to run the nondecanvas project:

      Assets/ThirdParty/NodeCanvas/Core/Editor/TaskInspector.cs(13,33): error CS0039: Cannot convert type UnityEngine.Object' toTask’ via a built-in conversion

      Commenting the ‘(target as Task).ShowInspectorGUI(false);’ fixes the issue, however I’m still wondering what’s causing the error.

      Thanks,
      Piotr

      #19373
      Gavalakis
      Keymaster

        Hello,
        Sorry for the very late reply, but I was ill :/
        But now I am fine again 🙂

        I don’t get this error at all. Do you get this error in every project using NodeCanvas?
        What version of unity are you using by the way? (not that I think it matters)

        Thanks

        #19372
        piotro
        Participant

          Hi,

          No worries, I hope you’re better now.

          Not sure what happened, but the error is gone now 🙂

          BTW. NodeCanvas looks really promising!

          Thanks

          #19371
          Gavalakis
          Keymaster

            Hello,

            I am better now yes.
            Thank you. I am glad you like NodeCanvas and letting me know the error is no more 🙂

            Cheers!

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