Instanced variables were given a fix in response to this issue: [Link Removed]
Once implemented, when the project is compiled the data from the blueprint instanced variable is removed.
A recommended fix is to include the following in KismetCompilerMisc.cpp for default to instanced properties:
NewPropertyObj->SetPropertyFlags(CPF_PersistentInstance);
STEPS TO REPRO:
Add changes from [Link Removed]
Create UClass with DefaultInstanced
Add previous class as variable in any BP (create an empty one if needed)
Modify inline default values
Compile
CURRENT RESULT:
It erases the data of the bp variable
EXPECTED RESULT:
It mantains the data after compiling
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-204092 in the post.
7 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 5.4, 5.3 |
Target Fix | 5.6 |
Created | Jan 17, 2024 |
---|---|
Updated | Sep 30, 2024 |