Local Blackboard is not being used. Fix included ?

NodeCanvas Forums Support Local Blackboard is not being used. Fix included ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14036
    erwan
    Participant

    Hi everyone,
    I am in the specific case where I want my behaviour tree to use the local black board (I am not using any component)
    And the problem is that when the code says : “let’s use the local black board !” et actually sets it to null one line later.

    In Graph.cs :

    Shouldn’t the line 630 read :

    Overwise the blackboard is set to null again because of the call to “UpdateReferences(…)”

    Merci !

    #14047
    Gavalakis
    Keymaster

    Hello,

    Yes, you are right 🙂 This is a bug introduced from a refactoring, and the fix is exactly what you suggest here:
    blackboard = localBlackboard;

    Thank you for letting me know!

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

    #14049
    erwan
    Participant

    You are welcome,
    It’s good to know I’ll be able to discard the fix on the next update.
    And bravo to open source code !

    #14060
    Gavalakis
    Keymaster

    Thank you! 🙂

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

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