Description

[Image Removed]

When the BP editor is opened, hot-reload compile will wrongly serialize a HORRELOAD_XXX object into the BP class and package which can not be found when Editor is opened again afterward.

Steps to Reproduce

1.create a c++ actor component [SummonManagerComponent]

2.add a property

UPROPERTY(EditAnywhere, BlueprintReadWrite)
float value1;

3.create an actor BP, add SummonManagerComponent as child

 

4.change value1 to 123, compile and save

 

5. add another property

UPROPERTY(EditAnywhere, BlueprintReadWrite)
float value2;

 

6.while the BP Editor is still open, click [Compile] in the Main Editor Toolbar

 

7.after compile succeeded, the Actor BP will be malfunctioned, the modified value1 and value2 will not be saved anymore even you changed them in the BP editor.

 

Have Comments or More Details?

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

3
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.24.1
CreatedJan 9, 2020
ResolvedAug 31, 2021
UpdatedAug 31, 2021