This issue no longer occurs in 4.21.
After a hot reload, blueprint instances of TSubclassOf variables have their setting reset to "none"
Regression:
Yes - variable values remain after hot reload in 4.17.2 (CL 3658906)
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = test) TSubclassOf<AActor> MySubActor;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = test)
float SomeNum;
Result:
After hot reload, MySubActor resets to "none"
Expected:
Value set for the variable is retained after hot reload
Head over to the existing Questions & Answers thread and let us know what's up.
67 |
Component | UE - Foundation - Cpp Tools - Hot Reload |
---|---|
Affects Versions | 4.18, 4.19.2, 4.20, 4.21 |
Created | Nov 3, 2017 |
---|---|
Resolved | Sep 19, 2018 |
Updated | Jul 14, 2021 |