function SPropertyValueWidget::ConstructPropertyEditorWidget checks what type of widget to create.




function SPropertyEditorArrayItem::Supports() fails the test 

if (!(Property->GetOwner<FArrayProperty>()->PropertyFlags & CPF_EditConst)) 


Interestingly, SpropertyEditorArrayItem seems to be prepared to handle non-editable properties, as seen in function SPropertyEditorArrayItem::CanEdit().

But, for properties marked as CPF_EditConst, what ends up being used is a basic SpropertyEditor

Unlike SpropertyEditorArrayItem, the basic SpropertyEditor does not handle the TitleProperty annotation.

Steps to Reproduce
  • Download the code here: [Link Removed]
  • Put the code in an empty C++ project, compile and run the Editor
  • Place an actor from class AmyTestActor on the scene
    In the details panel, under “MyTestCategory”:
    • MyEditAnywhereArray displays the title property correctly, while MyVisibleAnywhereArray does not display it at all.

[Image Removed]

Have Comments or More Details?

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

Login to Vote

ComponentUE - Editor - Workflow Systems
Affects Versions5.2
CreatedAug 15, 2023
UpdatedJan 19, 2024
View Jira Issue