[Solved]Blank detail panel for UStaticMeshComopnent in child blueprint class of a C++ class

[COLOR=#fff]↵[/COLOR]

Thx for reply.

Yes, i’ve double checked ‘EditAnywhere’ but it ain’t work… I’m going to create a new project in order to check it agian.

Actually, the issue is, the detail panal still doesn’t show an. of the inherited UStaticMeshComponent’s property.

Just like the following pics show:
1.The USkeletonMeshComponent declared in ACharacter class can be shown correctly:


private:
    /** The main skeletal mesh associated with this Character (optional sub-object). */
    UPROPERTY(Category=Character, VisibleAnywhere, BlueprintReadOnly, meta=(AllowPrivateAccess = "true"))
    USkeletalMeshComponent* Mesh;

[ATTACH=JSON]{“data-align”:“none”,“data-size”:“medium”,“data-tempid”:“temp_188478_1586750369082_664”}[/ATTACH]
https://forums.unrealengine.com/core/image/gif;base64

2.The properties of a inherited blueprint static mesh component can be shown correctly:
[ATTACH=JSON]{“data-align”:“none”,“data-size”:“medium”,“data-tempid”:“temp_188479_1586750464321_533”}[/ATTACH]
https://forums.unrealengine.com/core/image/gif;base64

3.Yet my C++ UStaticMeshComponents shows nothing:(Tried change VisibleAnyWhere to EditDefaultsOnly or something else)


    UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = Mesh, meta = (AllowPrivateAccess = "true"))
    class UStaticMeshComponent* SMWeapon;


a4729d9f2cd1fb535f613ec57da98333da40f282.jpeg