To recreate:
-
Place a empty actor in the world (Actor A), select it, in the details panel in the components list drag and drop any amount of actors
-
Place another empty actor in the world (Actor B)
-
Make any blueprint logic that does something like: get all attached actors of Actor A, attach actors to Actor B
-
Simulate Play
-
In the World Outliner you will see that it seems to work correctly but when you select Actor A you will see outlines of the child actors even though Actor A has those child actors not anymore as you can see in the world outliner
-
Now if you destroy Actor A all childs of Actor B will be destroyed!
-
Detaching a actor before attaching it to a new actor does not fix it either
-
Another Bug might be that actors placed in the world that then get attached through blueprint and and then their parent actor deleted does not delete its childs. Well, I don’t know which way should be correct, should the destroying of a parent actor delete also its child or do not delete the childs. Currently there are the 2 ways.