Register ActorComponent Crash on Cooking

I removed CharacterAttributes->RegisterComponent();
I read CreateDefaultSubobject is doing what is needed and it works.