When a TInstancedStruct contains a UObject marked with EditInlineNew and DefaultToInstanced, the reference is lost after compiling the Blueprint but only when the struct is part of a native Actor class.
The issue does not occur when the same struct is used inside an ActorComponent that is added to the Blueprint in the editor. In that case, the reference to the instanced UObject is preserved correctly across recompilation.
This issue occurs in UE 5.4 through 5.6 (launcher builds) and also in a source build from Main at CL 43801126.
Attached repro project works in UE 5.5 and contains a BP_TestActor derived from a native actor class which declares the code shared by the licensee in the case link.
1. Open the attached repro project
2. Open the BP_TestActor blueprint
3. In the Class Defaults details panel, locate the following fields:
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-300039 in the post.
0 |
Component | UE - Foundation |
---|---|
Affects Versions | 5.4, 5.5, 5.6, 5.7 |
Created | Jun 25, 2025 |
---|---|
Updated | Jul 17, 2025 |