This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.
If an FDateTime variable is created in code and has a default value set in blueprints, any instance that is set to the blueprint default value changes to the code default on hot reload. This includes setting instances to struct default if no explicit default is set in code.
If the instance of the variable has been explicitly set, the hot reload does not affect the instance.
Regression:
No - same behavior occurs in 4.14.3 (CL 3249277)
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Calendar")
FDateTime StartGameDate = FDateTime(2017, 12, 12);
if (GEngine)
{
GEngine->AddOnScreenDebugMessage(-1, 4.f, FColor::Magenta, StartGameDate.ToString());
}
Result:
StartGameDate value of the instance changes after hot reload
Expected:
Blueprint default value overrides code based value after hot reload
I am not able to find world outliner how to enable it?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How can i modify the param name in EQS node
An error occurred while trying to generate project files !?
How to have a sound cue follow a PlayerController along a spline?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-45541 in the post.
3 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.14.3, 4.15.3, 4.16 |
Created | May 31, 2017 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |