Description

This bug causes an editor crash. This crash occurs when changing the default values of a UStructs properties that are used as EditConditions, when they are set to InlineEditConditionToggle within a TArray. When there is is more elements within a parents TArray property than a child class, and the InlineEditConditionToggle property is toggled, a crash occurs.

Identified in case: https://udn.unrealengine.com/s/case/500QP000007tzwWYAQ/crash-when-changing-default-properties-for-a-bp-parent-class-when-the-property-is-inlineeditconditiontoggle

Steps to Reproduce

1. Create a UObject in C++ with an EditAnywhere / EditDefaultsOnly property.
2. This property is a TArray of UStructs.
3. The UStruct contains a property that is marked as
meta=(InlineEditConditionToggle) and another property that uses that as an edit condition via meta=(EditCondition="OtherProp")
4. Create a BP Class from the UObject.
5. Create another Child Class from the BP class.
6. In the child class, add one or more Struct Entries into the Array. Change some default values on the struct (like enabling the edit condition).
7. In the Parent Class, add more array entries than you added in the child class.
8. Try to change the EditCondition in the last entry in the Parent's array.
9. The Editor will crash.

Have Comments or More Details?

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

0
Login to Vote

Backlogged
ComponentUE - Editor - Workflow Systems
Affects Versions5.35.3.15.3.2
CreatedApr 5, 2024
UpdatedApr 11, 2024