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.
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
How to delete some elements correctly when deleting an array loop?
为什么我的电脑无法安装ue,错误代码一直是IS-IN-BV05,该如何解决
Why does the volume fog disappear from a distant view?
How to convert the datasmith scene file to BluePrint. Create animations in BluePrint.
Head over to the existing Questions & Answers thread and let us know what's up.