AI Stops Working after Following Steps in Lecture 265 (Help)

Expected Behavior

  • NPC’s progress through their 3 states, Patrol, Suspicion and Patrol.

Observed Behavior

  • Not getting On Target Perception Updated events.
  • Guard Behavior Behavior tree flickers between Suspicion and Patrol Behaviors. My guess is that the Blackboard Enemy variable is never being set (because On Target Perception events are not firing).

Steps to Reproduce

Already Tried

  • Verified all Detection by Affiliation checkboxes were checked.
  • Putting a Print String node just after On Target Perception Updated and not seeing string printed.

Useful Info

  • Only occurrued after following steps in lecture 265.

Code

Guard Behavior Tree and AI Perception component settings

Privacy & Terms