Description

In the project is Behavior Tree that implements some tasks, decorators and services, but for some reason, two of my tasks nodes gets initialized with all the pointers to their services set to null, and therefore does not execute them. Opening the Behavior Tree asset causes the error to disappear but it comes back when the project is reopened.

This was reported and tested in 4.20.3 (CL-4369336). This was reproduced in 4.21.1 (CL-4613538) and Main 4.22 (CL-4626507)

Steps to Reproduce
  1. Download the attached project
  2. "Generate Visual Studio project files" and open the project
  3. Open the map 'Main' located at the root of content
  4. Play in Editor and you will see missing service node errors appear in the Output Log
  5. Press Stop or Esc to exit PIE
  6. Open the Behavior Tree "Team/Mat/BluePrint/AI/BT_Sentinel"
  7. If you close and reopen the editor, the issue will appear again

Results: The following error is displayed - LogBehaviorTree: Warning: BT_Sentinel has missing service node! (parent: Set Search State[0]) LogBehaviorTree: Warning: BT_Sentinel has missing service node! (parent: Set Patrol State[0])

Expected: The service nodes are executing correctly when the project is opened

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-67171 in the post.

1
Login to Vote

Unresolved
ComponentGameplay - AI
Affects Versions4.21.14.224.20.3
Target Fix4.22
CreatedDec 4, 2018
UpdatedDec 6, 2018