- Download the attached DemoChildActor project.
- Created in Main (CL 2765475).
- Associate the project with Main.
- Build the project in Visual Studio.
- Open the project in the Editor.
- Select the Cube in the Editor that is part of MyFirstActor_BP.
- Note in the World Outliner that the Blueprint has a ChildActorComponent named FirstTestActor_BP.
- Open MyFirstActor_BP in the Blueprint Editor.
- Locate the The Child property and change the default Child Actor Class to SecondTestActor_BP.
- Note that the World Outliner now shows two ChildActorComponents for the MyFirstActor_BP Blueprint in the level, and both are named SecondTestActor_BP.
- Select and delete the MyFirstActor_BP Blueprint from the level.
- Note that one of the two ChildActorComponents is deleted with the Blueprint and the other is left in the level.
EXPECTED:
The instance of the Blueprint in the level still only has a single ChildActorComponent when the default Child Actor Class is changed, and deleting the Blueprint does not leave the ChildActorComponent in the level.