When a C++ function parameter has a default value, changing the default value will change any blueprint node of the function where the value is manually set.
Regression:
Yes - changing the default value of a function parameter does not change the blueprint node value in 4.16.3 (CL 3561208)
UFUNCTION(BlueprintCallable, Category = test)
void ACoolFunction(bool Thing = false);
void AMyActor::ACoolFunction(bool Thing /* = false */)
{
}
Result:
The bool checkbox is set to true after latest compile.
Expected:
Checkbox retains previous setting
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-51953 in the post.
1 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.17.2, 4.18 |
Created | Nov 2, 2017 |
---|---|
Resolved | Nov 3, 2017 |
Updated | Apr 27, 2018 |