Help! My code crashes the editor instantly after compiling!

The following code appears to crash my editor as soon as I compile. Disabling it causes the editor not to crash on load, but recompile attempts show no avail. Any clue as to why my code crashes the editor?

static ConstructorHelpers::FObjectFinder<USkeletalMesh> SPMesh(TEXT("SkeletalMesh'/Game/GameStuff/Models/3rdPersonChar/SK_Mannequin.SK_Mannequin'"));
SPBody->bOnlyOwnerSee = true;

As a side note, the third line,


Appears to crash the editor from the crash log’s execution stack.

OH WAIT! I didn’t initialize the variable SPBody or MPBody