If a variable is renamed on a blueprint, then any child blueprints will lose their default values for that variable and reset to the parent's default value.
This resetting only happens with the Child's default values. If I place an instance of that child in the world and set different values on just the instance, those stay as expected.
Current outcome when renaming a variable
For BP_Parent with variable "MyFloat", when renamed:
BP_Parent "MyFloat" = 0 -> "MyFloat_Renamed" = 0
BP_Child "MyFloat" = 12 -> "MyFloat_Renamed" = 0 (Value automatically resets to parent's default)
Expected Outcome:
If the parent variable is renamed, the child would get the new name, but keep it's default value.
BP_Parent "MyFloat" = 0 -> "MyFloat_Renamed" = 0
BP_Child "MyFloat" = 12 - > "MyFloat_Renamed" = 12
N/A
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-181277 in the post.
9 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 5.0, 5.1, 5.2 |
Target Fix | 5.6 |
Created | Mar 25, 2023 |
---|---|
Updated | Sep 30, 2024 |