Description

Modifying a UserDefinedStruct can lead to data corruption in Blueprint array properties.

Steps to Reproduce
  1. Create a UserDefinedStruct with two int properties "MyStruct"
  2. Add an array property of type MyStruct to a Blueprint
  3. Compile, add a few entries to the array and set values for each entry

[Image Removed]

  1. Add a third property to MyStruct (I was able to consistently repro using a float)
  2. Recompile the Blueprint and note that some of the values in the array entries get stomped. 

[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-95140 in the post.

2
Login to Vote

Fixed
ComponentUE - Foundation - Core
Affects Versions4.25
Target Fix4.25.4
Fix Commit14273874
Release Commit14273874
CreatedJul 1, 2020
ResolvedSep 8, 2020
UpdatedApr 28, 2021
Pull Requests
7675
7540