Description

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 Reproduce

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

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-204092 in the post.

7
Login to Vote

Unresolved
ComponentUE - Gameplay - Blueprint
Affects Versions5.45.3
Target Fix5.6
CreatedJan 17, 2024
UpdatedSep 30, 2024
View Jira Issue