There seems to be a bug with the Possess\Unpossess events. Because if you change the last node in "PossessCharacter", which is created in PlayerController(called "PC"), to Unpossess the AI still controls character. Implementing both Unpossess and Possess nodes still produced the same effect.

This was reported and tested in 4.20.3 (CL-4369336). This was reproduced in 4.19.2 (CL-4033788), 4.21 (CL-4516095), and Main 4.22 (CL-4531805)

Steps to Reproduce
  1. Download and open the attached project
  2. Press Play and notice how the character move to random locations (by AI, blueprint name "AIPC")
  3. Press "K" to posses character (Implementation is in player controller called "PC")

Results: After possessing character it became controlled by player AND by AI (character still moves to random locations which is defined in AI but can also be controlled by player using WASD).

Expected: After possess event character should be controlled only by player

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-66158 in the post.

Login to Vote

ComponentUE - AI
Affects Versions4.
Target Fix4.22
Fix Commit4668675
Main Commit4736445
Release Commit4862694
CreatedNov 5, 2018
ResolvedDec 18, 2018
UpdatedFeb 12, 2019
View Jira Issue