Setting subcategory for struct variables and using ShowOnlyInnerProperties causes variables with subcategory to not appear in the editor.
USTRUCT(BlueprintType) struct FTestStruct { GENERATED_BODY() UPROPERTY(EditAnywhere, Category = "Test Category") FString Value1; UPROPERTY(EditAnywhere, Category = "First|Second") FString Value2; UPROPERTY(EditAnywhere, Category = "First|Second") FString SubValue1; UPROPERTY(EditAnywhere, Category = "First|Second") FString SubValue2; UPROPERTY(EditAnywhere, Category = "First|Second") FString Hello; UPROPERTY(EditAnywhere, Category = "First|Second") FString AnotherHello; }; UCLASS(BlueprintType, Blueprintable) class [PROJECTNAME]_API UBugTest : public UObject { GENERATED_BODY() UPROPERTY(EditAnywhere, Category = "Category", meta = (ShowOnlyInnerProperties)) FTestStruct Test; };
Result:
Only Value1 will be visible in details panel of blueprint
Expected:
Struct variables appear in category/subcategory headings.
Head over to the existing Questions & Answers thread and let us know what's up.