Pointer issues UDecalComponent

DC is a null pointer. You have to initialize it first. If this code happens in your class constructor you could use:

UDecalComponent* DC = CreateDefaultSubobject<UDecalComponent>(TEXT("DC"));

Also, use → to reach a pointer’s members not dot:

DC->FadeScreenSize = 1;

instead of

DC.FadeScreenSize = 1;