Description

If a struct has a property with the EditCondition meta after a Boolean property that is set to the Boolean property, this Boolean property will be changed inadvertently when a Set node is used for the Struct in Blueprints. If the Boolean is changed to be the second property, this does not occur.

In the example provided, the struct has two properties. The first is a Boolean and the second is a float. The struct's Boolean value is False by default and is printed out correctly. After the print, a Set node is placed and the pin is split. The values of the Set are still the defaults, so False and 0.0 for the float. The Boolean value is printed again after this set is run and it is now set to True, despite not being changed to such.

Regression? No
This occurred in 4.19

Steps to Reproduce
  1. Download the attached project
  2. Compile/open the project
  3. Press play
  4. Notice the print strings
    Result: The Before print string says False and the After says True
    Expected: The Before and After strings are both False

Have Comments or More Details?

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

4
Login to Vote

Duplicate
ComponentUE - Gameplay - Blueprint
Affects Versions4.194.204.21
CreatedAug 21, 2018
ResolvedSep 4, 2018
UpdatedSep 5, 2018
View Jira Issue