x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

"ShowOnlyInnerProperties" in struct does not work with subcategories

I notice that support for subcategories in property list has been added 4.12, i wanted to use them to make struct properties of my object look more cleaner, something like post processing struct has, i could not figure how this was done but now i think it was coded property customization class (i might actually look in to it). In 4.11 i find "ShowOnlyInnerProperties" meta flag which makes struct properties appear as a normal property of object, in 4.12 i tried to use subcategories with it, but when i use subcategory it makes that struct property complitly disappear, i guess subcategory support was not added to that flag, but for consistency sake i consider this as bug :p

Product Version: UE 4.12
Tags:
more ▼

asked Jun 12 '16 at 05:53 AM in Bug Reports

avatar image

Shadowriver
37.8k 937 172 1123

avatar image Adam Davis STAFF Jun 13 '16 at 07:03 PM

Hi Shadowriver,

  • Can you tell me what steps you are taking to reproduce this on your end?

  • Does this occur in a clean, blank project with no additional content or is it limited to one project?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hi Shadowriver,

We have not heard from you in several days. I am marking this as answered for tracking purposes. If you are still experiencing this error, please comment with the requested information.

more ▼

answered Jun 17 '16 at 06:00 PM

avatar image Shadowriver Jun 19 '16 at 05:22 AM

Sorry for late repose, making new C++ projects on my too old PC is pain :p

-First C++ project needs to be created and here the test code i made, this can be pasted in place of default gamemode class (leaving the includes as they are) that is generated with the C++ project, it should work.. at least it worked for me:

 USTRUCT(BlueprintType)
 struct FTestStruct{
     GENERATED_BODY()
 
     UPROPERTY(EditAnywhere, Category = "Test Category")
     FString Value1;
 
     UPROPERTY(EditAnywhere, Category = "Test Category")
     FString Value2;
 
     UPROPERTY(EditAnywhere, Category = "Test Category|Subcategory")
     FString SubValue1;
 
     UPROPERTY(EditAnywhere, Category = "Test Category|Subcategory")
     FString SubValue2;
 
     UPROPERTY(EditAnywhere, Category = "Another Category|Subcategory")
     FString Hello;
 
     UPROPERTY(EditAnywhere, Category = "Another Category|Subcategory")
     FString AnotherHello;
 };
 
 UCLASS(BlueprintType,Blueprintable)
 class UBugTest : public UObject
 {
     GENERATED_BODY()
     
     UPROPERTY(EditAnywhere, Category = "Category", meta=(ShowOnlyInnerProperties))
     FTestStruct Test;
     
     
 };

-Then after compilation and opening then project, blueprint needs to be created based of that class

-In blueprint in Class Defaults only Value 1 and Value 2 will apper, only variables that don't have subcategory.

I did fresh project to test the above code and it also occurs in the too. In my original code it was component properties, but i guess this will occur on any property list

To tell the truth i don't really know what is desired result of ShowOnlyInnerProperties is, i find it in FPostProcessingSettings properties of other class as i was searching the way for categories in structs to work, but this we effect of struct varbales visually becoming actor variables been satisfactory for me, subcategory support for this would make things even better

avatar image FordHash Aug 09 '19 at 08:21 PM

This is still a problem after 3 years.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey Shadowriver-

I am not familiar with ShowOnlyInnerProperties either, however the properties not appearing in the editor does sound like an issue. I have entered a bug report as UE-32252 to investigate this behavior.

Cheers

Doug Wilson

more ▼

answered Jun 20 '16 at 09:11 PM

avatar image Shadowriver Jul 26 '16 at 07:20 PM

When i try search code in issue tracker it said that issue entry might not be public, can you make it public so i can check the status please ^^ i marked answer as unreolved so somebody can notice this

avatar image Doug E ♦♦ STAFF Jul 27 '16 at 01:41 PM

Hey Shadowriver-

The current status of this issue is unresolved. I went ahead and made this public so you can view/vote on the issue. Here is a link to the issue: https://issues.unrealengine.com/issue/UE-32252

avatar image Shadowriver Jul 28 '16 at 12:03 AM

Ok thanks :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question