Bug with recreating an object that has subobjects

I copied the “RootComponent” line into my actor class’s constructor and the other code block into the BeginPlay() function. After compiling and placing an instance of the class into the level I was able to PIE without getting any crash. Does copying the code into a new actor class in a new project give you the assert you mentioned? If so let me know if there is something I’ve missed in my reproduction.