Bug: crash when using method that has several version with different parameters

Forums 💬 NodeCanvas ⚙️ Support Bug: crash when using method that has several version with different parameters

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #19542
    zxc
    Participant

      Whole Node Canvas stars spitting errors and warnings like crazy when I added a “Check Function” node pointing to a method that had 2 different versions of itself. Ie. Reached(Vector3 destination) and Reached(Transform destination). Node editor just can’t handle and bursts with errors.

      Nothing big, but I guess that you would want to know about it :).

      #19546
      Gavalakis
      Keymaster

        Hello,

        The script control tasks work with overloaded methods. I just tried that again with the Check Function and seems to work fine.
        What kind of errors do you get?

        #19545
        zxc
        Participant

          Hmm, I tried reproducing it on an empty project, but it worked fine.

          On my main project I get this: http://imgur.com/edSNM7w,Jxq2eEO#0 (two images)

          It may be because of my modyfications to the Node Canvas, but they were tiny – just a jump to proper file on clicking execute function node and coloring the missing methods (things we discussed here on forum).

          #19544
          Gavalakis
          Keymaster

            From the looks of the editor in image, the problem lies solely in the info of the action (showing the missing method).
            It will be properly fixed in the next version, but I can give you a dirty fix for that if you wish now.
            Alterinatively please remove that code we’ve previously added 🙂

            Cheers!

            #19543
            zxc
            Participant

              I looked at those same messages but I didn’t connect the dots. No need for dirty fix, it’s a minor issue for me. Thanks!

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