CreateDefaultSubobject change SubobjectName causing subject to disappear from blueprint class that inherent from it

  1. Create a third person c++ project

  2. Change a subobject name in projectCharacter.cpp, e.g. change CameraBoom = CreateDefaultSubobject(TEXT(“CameraBoom”));
    to CameraBoom = CreateDefaultSubobject(TEXT(“CameraBoomTEST”));

  3. Hit ‘compile’ in UE4

  4. The CameraBoom object disappear from the blueprint class ‘ThirdPersonCharacter’, causing the camera location to be wrong.

  5. Change the name back

  6. Blueprint class still broken.

2 Likes

Did you ever solve this?