Empty details panel


I created a C++ First-person Template project.

Then I modified the Character class. I simply switched the type of the FP_Gun variable (which is VisibleDefaultsOnly) from being a USkeletalMeshComponent to a UStaticMeshComponent.

When I was going to set the mesh in the details panel of the Character Blueprint, the details panel for the FP_Gun was empty.