When creating an Actor Blueprint (Testbase), and creating a new Blueprint Actor that inherits from Testbase (TestBP). We can drag an instance of TestBP into the World. If we go back into the Parent Actor Blueprint (Testbase), and add a Float Variable("Good"), Compile and assign it a default value. Next, we add functionality to print that variable into a string (using Print String Node.) this will result in Test BP accurately printing the default value to the screen. However, upon going back into the Parent Actor Blueprint(Testbase) and duplicating the previous Float Variable ("Good"). This new duplicate("Bad") will print the incorrect inherited default value from TestBP.
Result: The Float value of "0.0" is printed.
Expected: The Float value of "999.0" is printed.
Note: Changing the default value of Bad will always yield a "0.0" display result.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-65450 in the post.
3 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.19.2, 4.20, 4.21 |
Created | Oct 18, 2018 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |