Adding elements to an array within a struct that lives inside another struct corrupts the outermost struct and every blueprint that had used it.

This may be related or the same as UE-40033

Steps to Reproduce
  1. Create a blank Project
  2. Create a struct with an int array in it. Name it "Struct1".
  3. Create a struct that has a Struct1 variable inside it. Name it "Struct2".
  4. Create a new Actor Class BP -> go to Event Graph -> Create the set-up in Screenshot01.
  5. Go back to Struct1, expand the array, and add in more elements.

Expected: The context of Struct 2 should modify based on the changes of Struct1

Results: Struct2 is no longer is compatible with Struct1, unhooks itself in the Actor Class BP, and "deleted" the variable associated with it. (Screenshot02)

Gives error message on compile:
Error Invalid property 'Struct2Var' structure 'Struct2' error: Struct 'UserDefinedStruct /Game/Struct2.Struct2' Property 'MemberVar_0_1_ED9036454AF2E276A87B278CDE25F608' Error ( Struct 'UserDefinedStruct /Engine/Transient.STRUCT_REINST_Struct1_10' is not compiled )

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

Login to Vote

ComponentGameplay - Blueprint
Affects Versions4.14.3
Target Fix4.19
Fix Commit3784604
Main Commit3804136
Release Commit3813083
CreatedFeb 1, 2017
ResolvedDec 1, 2017
UpdatedJun 11, 2019