Licensee is experiencing an issue where GetTeamAttitude is being called before the AI Controller's Construction event. This results in the warning "GetTeamAttitudeTowards - Pawn is null!" being output in the log when another Character and AI Controller are spawned.
This was tested and reproduced in 4.21.2 (CL-4753647), 4.22.1 (CL-6063286), and Main 4.23 (CL-6317373)
Results: GetTeamAttitudeTowards gets called before the AI Controllers Construction event and displays the warning: "GetTeamAttitudeTowards - Pawn is null!"
Expected: The call order would be the same as it was during the first call which was:
LogBlueprintUserMessages: [MyAIControllerBP_C_0] MyAIControllerBP - Construct
MyAIController: MyAIControllerBP_C_0 - BeginPlay
MyAIController: MyAIControllerBP_C_0 - GetTeamAttitudeTowards
LogBlueprintUserMessages: [MyAIControllerBP_C_0] MyAIControllerBP - OnDestroy
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-74223 in the post.