Debuging missing methods

NodeCanvas Forums General Discussion Debuging missing methods

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9105
    zxc

    I’m using lots of execute/check function nodes. When I change method’s name it’s a pain to find nodes that used the old name. It would be the best that the error in Unity Console would point to the faulty node (that’s probably not going to happen), but maybe a “verify nodes” option in the menu would sweep through all the nodes/all the actions in a tree and check if they point to functions that actually exists?

    Or maybe there’s already a proper Node Canvas way to do it?

    #9107
    Gavalakis
    Keymaster

    Hey,

    I am not sure about Unity console pointing to the node, but I am working on showing a warning icon on probably faulty nodes within the editor for the the next version. Another alternative that you can do like right now, is to change the info property of the Execute/Check Function tasks by adding this right after the first IsNullOrEmpty check:

    So this will show you within the node if the selected method is missing in red 🙂

    Cheers!

    Join us on Discord: https://discord.gg/97q2Rjh

    #9106
    zxc

    :D, works and tells exacly what I need to know. One downside is that I can’t validate all my BT for missing methods. So if I refactor my code I still can get an esoteric error about a missing method, don’t even knowing where it’s missing. But that’s a song for later, I even don’t have so many BT right now.

    Thanks :).

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