When migrating a struct with a soft reference from 4.17 (or older) to a newer version of the engine, the soft reference will have it's default value converted to an integer after a new member variable is added to the struct.

Steps to Reproduce
  1. Open a 4.17 project
  2. Create a new struct
  3. set the variable type to object > soft object reference
  4. Save
  5. Migrate to a newer version of the engine
  6. Open the struct (in the newer version of the engine)
  7. Add a new member variable

Result: The soft object references are changed to integers (in the default values panel)
Expected: The soft references would remain soft references

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-55783 in the post.

Login to Vote

ComponentGameplay - Blueprint Editor
Affects Versions4.18.34.19
Target Fix4.19
Fix Commit3925873
Main Commit3990065
Release Commit3925873
CreatedMar 5, 2018
ResolvedMar 5, 2018
UpdatedApr 27, 2018