This is a regression tested in //UE4/Release-4.27 CL#18319896

C++ Actor Component is removed from Actors in scene when the Editor is restarted.

Steps to Reproduce
  1. Create a new C++ project
  2. Select or place an actor in the scene
  3. In the actor's detail panel select Add >New C++ Actor Component
  4. In the Dialog select Next then Create Class
  5. Navigate to the C++ Classes folder in the content browser
  6. Attach the newly created C++ Actor Component to the Actor in the scene
  7. Save all and restart the editor
  8. Select the actor in the scene

Expected Results:
The component is added to the actor at creation. The component remains as a part of the actor after restarting the editor.

Actual Results:
The component is not added to the Actor at creation. The component is not retained by the actor. The component isn't visible in the editor until recompiling/reloading the editor.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-156137 in the post.

Login to Vote

ComponentUE - Foundation
Affects Versions5.0.2
Target Fix5.4
CreatedJun 8, 2022
ResolvedDec 12, 2023
UpdatedDec 13, 2023
View Jira Issue