UE4 crashes after adding AngularDamping Value

Hey

So I’m getting this crash whenever I add this in to my pawn.h code and compile:

    UPROPERTY(EditAnywhere, Category = PlayerPhysic)
float AngularDamp = PlayerCharacter->GetAngularDamping();

UPROPERTY(EditAnywhere, Category = PlayerPhysic)
float LinearDamp = PlayerCharacter->GetLinearDamping();

PlayerCharacter is a UStaticMeshComponent

And is only used in the constructor here:

static ConstructorHelpers::FObjectFinder<UStaticMesh> BallMesh(TEXT("/Game/PlayerController/PlayerChar.PlayerChar"));
	RootComponent = PlayerCharacter;
	PlayerCharacter = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("PlayerCharacter"));
	PlayerCharacter->SetStaticMesh(BallMesh.Object);
	PlayerCharacter->BodyInstance.SetCollisionProfileName(UCollisionProfile::PhysicsActor_ProfileName);
	PlayerCharacter->SetSimulatePhysics(true);
	PlayerCharacter->SetAngularDamping(0.7f);
	PlayerCharacter->SetLinearDamping(0.1f);
	PlayerCharacter->BodyInstance.MassScale = 3.5f;
	PlayerCharacter->BodyInstance.MaxAngularVelocity = 800.0f;
	PlayerCharacter->SetNotifyRigidBodyCollision(true);

but I if delete that code in the .h file it doesnt crash

why is this happening?