Licensee found that when creating a UObject class with DefaultToInstanced and EditInLineNew specified, and then a derived BP was created using the UObject class and used as a variable type in an actor BP, any variables added in the derived BP would still show in the instanced object's properties in the actor BP regardless of if the property was set to private in the derived BP.

Steps to Reproduce

1. Create a cpp class derived from UObject and marked as blueprintable, blueprint type, edit in line new, and defaultToInstanced
2. Create a blueprint deriving from this class, add variables to it (eg: one marked as private,one marked instance editable,one left as default)
3. Create a variable of this blueprint type in any blueprint or data asset, to be able to edit the instanced object
4. See that all variables will show on the instance, and that there is no way to add them.

Licensee also provided the same setup in a basic example project "UDN - Light".

Have Comments or More Details?

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

Login to Vote

ComponentUE - Editor - Workflow Systems
Affects Versions5.4
CreatedApr 19, 2024
UpdatedApr 23, 2024
View Jira Issue