I’ve seen several snippets/examples where, after attaching components, NewlyAttachedComponent->RegisterComponent() is called. In my experience, this has caused issues and has in some cases triggered breakpoints.
You use RegisterComponent() when you dynamically create a component at runtime. Typically, I would use it when adding component in the Construction script, for example. Otherwise, your component will not show up and/or problems could occur.
You can see an example here:
The problem in that post is unrelated but you can see the RegisterComponent() being used.