x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Get Blackboard returns None when called from Event Tick

In an AIController blueprint, calling either type of Get Blackboard node returns None, but only when called from Event Tick. Calling the exact same nodes from a function looped every 0.015 seconds returns no errors.

Here is the offending bit of blueprint nodes: alt text

And the output log: alt text

I tested this by connecting the get Blackboard node to the IsValid node directly, which always fires IsNotValid when the function is called by Event Tick.When this function is called via a looping timer, no error appears and the blackboard values can be both gotten and set successfully.

So thankfully, there is a workaround, but any ideas what could be causing this?

Product Version: UE 4.10
Tags:
more ▼

asked Jan 08 '16 at 09:07 PM in Blueprint Scripting

avatar image

NoahBeggs
243 5 8 18

avatar image HuntaKiller Nov 20 '16 at 11:39 PM

I am having the same problem. my Get Blackboard is returning null in my AiController class

 PIE:Error: Error Blueprint Runtime Error: Accessed None trying to read property CallFunc_GetBlackboard_ReturnValue from function: 'SetNewTargetObject' from node: Set Value as Object in graph: SetNewTargetObject in object: AI_ControllerBase with description: Accessed None trying to read property CallFunc_GetBlackboard_ReturnValue
 PIE:Error: Error Blueprint Runtime Error: Accessed None trying to read property Blackboard from function: 'SetAIState' from node: Set Value as Enum in graph: SetAIState in object: AI_ControllerBase with description: Accessed None trying to read property Blackboard
 PIE:Error: Error Blueprint Runtime Error: Accessed None trying to read property CallFunc_GetBlackboard_ReturnValue from function: 'SetNewTargetObject' from node: Set Value as Object in graph: SetNewTargetObject in object: AI_ControllerBase with description: Accessed None trying to read property CallFunc_GetBlackboard_ReturnValue
 PIE:Error: Error Blueprint Runtime Error: Accessed None trying to read property Blackboard from function: 'SetAIState' from node: Set Value as Enum in graph: SetAIState in object: AI_ControllerBase with description: Accessed None trying to read property Blackboard
 PIE:Error: Error Blueprint Runtime Error: Accessed None trying to read property CallFunc_GetBlackboard_ReturnValue from function: 'SetNewTargetObject' from node: Set Value as Object in graph: SetNewTargetObject in object: AI_ControllerBase with description: Accessed None trying to read property CallFunc_GetBlackboard_ReturnValue
 PIE:Error: Error Blueprint Runtime Error: Accessed None trying to read property Blackboard from function: 'SetAIState' from node: Set Value as Enum in graph: SetAIState in object: AI_ControllerBase with description: Accessed None trying to read property Blackboard
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question