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"

Accessed None 'CallFunc_BreakhitResult_HitActor2'

I've been trying to get a simple detection system working that allows an AI controlled pawn to follow the player, exactly as its described in the Behavior Tree Tutorial. However when I updated to 4.7 everything broke, and I replaced all the nodes that needed to be replaced. Except that now its giving me this result after running in the editor (and the AI pawn running to a angled location before returning to its origin point as a blackboard key is invalid)

alt text

This is the blueprint itself, exactly as its supposed to be laid out:

alt text

And this is the debug view in the editor when it is running:

alt text

I'm stuck trying to figure out why this sphere trace is causing this error, as it is stopping the blueprint from assigning the player's pawn to the TargetToFollow blackboard key, which stops the BT right from the start. Anyone know why its doing this?
Using Unreal 4.7.3

Product Version: Not Selected
more ▼

asked Apr 11 '15 at 07:16 AM in Blueprint Scripting

avatar image

3 2 4 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

All the error message says is that you're trying to use null value (or None) to do something, like calling a function (no idea what you do with it, it's just outside of the AgroCheck screen you've attached). That null value is the Hit Actor you get by breaking up the hit result. I suggest you used blueprint debugging tools (most notably breakpoints!) and debug that blueprint a bit.



more ▼

answered Apr 11 '15 at 10:47 AM

avatar image

MieszkoZ STAFF
7.3k 225 57 413

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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