[BUG] – Variable being randomly set to NULL by nodeCanvas

NodeCanvas Forums Support [BUG] – Variable being randomly set to NULL by nodeCanvas

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16432
    wrymn
    Participant

    My blackboard variable, which is present on the behavior tree asset, is being randomly set to NULL by the system. Why?

    You can see the stack trace in picture, as well as the previous value I have set there myself. I DID NOT set this value to null in this call nor I want it to be null, but for some reason Canvas Nodes sets it to null. Why?

    Attachments:
    You must be logged in to view attached files.
    #16442
    Gavalakis
    Keymaster

    Hello.

    Hmm. Could it be that the object assigned to the asset blackboard is a scene reference?

    If it’s possible, can you please send a small reproduction graph or project to support_AT_paradonotion.com ?

    Thank you!

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

    #16449
    wrymn
    Participant

    The TargetInfo is a pure c# class, which holds the reference to scene object, but that should not be the issue, since NodeCanvas is storing reference to this TargetInfo class.

     

    I was changing this value through the Variable<TargetInfo>.value I have received from the Blackboard itself. But right after changing this Variable<TargetInfo>.value, it got overridden by the system as shown in the screenshot.

     

    I can no longer send the project with reproduction though, as I have unfortunately decided not to use NodeCanvas anymore, as it had so many issues I was spending more time debugging them then using node canvas itself (as per several bug threads in this forum, some I could not even report as the issues were very hard to describe and reproduce)

    Which is a shame as it has the best UX and design of all the graphs on the market, behavior designer has old and clunky UI but it just works.

    #16471
    Gavalakis
    Keymaster

    Hello again and sorry for the late reply and to hear your decision. I try to fix any problems that show up, however it is always good to have some help in reproduction (eg with projects), especially in issues that have never been reported before like yours here in this case. It might be that you are setting the variable at some point before it gets chance to initialize (although that is probably not the case here). It could also be that the variable is also set/overriden by something else (eg by a task or maybe it is a bound variable?). In either case, it is very hard to know without some reproduction steps please, and it is very unlikely that it just resets itself to null for no reason just after you set it.

    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.