void AController::K2_DestroyActor()
{ // do nothing, disallow destroying controller from Blueprints }Destroying an AI Controller does not seem to remove it from the world. The controller will still remain in the World Outliner even after Destroy is called.
Attempting to get the AI Controller after it's been destroyed returns a null value, so it seems that it is getting destroyed, but the controller is still remaining in the World Outliner, which is unexpected.
Found in 4.15.1. Reproduced in 4.14.3 and 4.17 Dev Framework CL# 3397002
Result: Notice that even after being destroyed, the AI Controller still remains in the World Outliner
Expected: The AI Controller would be removed from the World Outliner after being destroyed
Steps with Repro Project:
Result: The AI Controller is printed as None to the screen, but the instance still appears to exist in the World Outliner.
Expected: The AICon instance would be removed from the World Outliner after it was destroyed.
Head over to the existing Questions & Answers thread and let us know what's up.