Description

When looking at the details of a UObject contained in a Data Asset, some categories are shown even though they should not be. If a category is marked as hidden in the parent class, it will be shown in the Data Asset (though variables in that category will not be shown). In addition, if a variable had been added to a category and subsequently deleted so that there are no longer any variables contained in that category, the category will still be displayed in the Details panel.

REGRESSION:
Yes. In 4.20.3, hidden categories and categories that no longer contain any variables are not shown in the Details panel.

Steps to Reproduce
  1. Download the attached project (project created in Main at CL 4555827).
  2. Associate the project with your version of Main.
  3. Build the project in Visual Studio.
  4. Open the project in the Editor.
  5. Create a new Blueprint that derives from the MyObject class.
  6. Create a new Integer variable in the Blueprint. Leave the variable's category set to Default.
  7. Create a new Bool variable. Set the variable's category to "DoNotShow" (this is a hidden category in the MyObject class).
  8. Create two more variables of any type. Set each of them to a unique category.
  9. Compile and save the Blueprint.
  10. Delete the two variables created in step 8.
  11. Compile, save, and close the Blueprint.
  12. Create and open a new Data Asset that derives from MyDataAsset.
  13. Add an element to the InstancedUObjects array.
  14. Set the new element to the Blueprint created in step 5.
  15. Expand all of the categories in the details for the first element of the InstancedUObjects array.

RESULT:
The "Do Not Show" category is shown, but the bool variable in that category is not shown. Both of the categories for the additional variables that were created and then deleted also appear even though there are no longer any variables contained in either category.

EXPECTED:
Only the Default category is shown.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-66427 in the post.

3
Login to Vote

Fixed
ComponentTools
Affects Versions4.214.22
Target Fix4.22
Fix Commit4569788
Main Commit4676940
Release Commit4862694
CreatedNov 12, 2018
ResolvedNov 19, 2018
UpdatedFeb 12, 2019
View Jira Issue