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"

Spawn AIFrom c got 'Accessed Node error'

I using blueprint and C++ to create my game. But when I try to create a blueprint to spawn my enemies, I got 'Accessed None' error.

My enemy blueprint is about this:

  1. Enemy Class (C++) -> the base class ( inherent from ACharacter )

  2. EnemyPawn -> Based on Enemy Class

  3. Battle Component -> Add to EnemyPawn

If I direct place the EnemyPawn into Game map, it works correctly. But when I using 'Spawn AI Class to create EnemyPawn, i got "Accessed None Battle Node` error, and it says the call node is my Animation Blueprint Node (Even the branch didn't reach it)

Product Version: Not Selected
more ▼

asked Feb 16 '15 at 06:17 AM in Blueprint Scripting

avatar image

11 1 3 5

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

1 answer: sort voted first

heh, making some necroposting, but it may be useful for somebody

Had same issue while spawning enemies with "Spawn AI Class", and got 'Accessed None' by enemy character references in enemyAI node, and vice versa. Had no issues with enemies placed on map.

3 hours of fighting with it leaded to understanding a simple thing - all casts and setting variables were linked to "event begin play" and was not executed at enemy spawn.

fixed this by next thing - i put event OnPossess as another execution point for all the execution line of casts for setting variables in AI blueprint, and same with EventPossessed in EnemyCharacter BP

So, maybe, topicstarter should use EventPossessed in EnemyPawn BP for creating variables at enemy spawn

more ▼

answered Dec 18 '15 at 09:51 PM

avatar image

11 4 3

(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