C++ UPROPERTY actor component variable being set to null

I had the same problem, but changing tags in the UPROPERTY did not fix it. I ended up having to change the name of the component variable.

PlayerEquipment = CreateDefaultSubobject<UEquipmentComponent>(TEXT("PlayerEquipment"));

to

PlayerEquipment2 = CreateDefaultSubobject<UEquipmentComponent>(TEXT("PlayerEquipment2"));

Very strange bug, and a pain to deal with.