Blackboard Component becomes nullptr error.
I have a small issue with a Blackboard component from a behavior tree that when I try to set a value from the blackboard, the blackboard at that moment is a nullptr reference, I'm not sure what is causing this behavior to happen since I haven't deleted at any moment the AI Actor nor anything related to it.
In this Screenshot you can see that the Blackboard component exists and is not a nullptr reference.
In this one is the same blackboard after it got Initialized without any problem.
And in this one you can see the error it generates when I try to read the Blackboard to try and set some values.
But I can't set the values since for some reason the Blackboard is getting deleted or loosing it's reference, any help with this issue would be greatly appreciated.
asked Jan 22 '17 at 03:37 PM in C++ Programming
I have finally been able to solve this problem and it seems the issue was happening since in the constructor of my actor I had commented the following lines:
So once I implemented this lines again the error was gone.
answered Jan 25 '17 at 06:59 PM
At no point does the
But if that's not the case you can always use VS' data breakpoint to observe changes done to
answered Jan 22 '17 at 07:18 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here