I make a custom struct and assign default values to it's member floats, etc. When I use that in a Blueprint, the defaults work as expected. However, when I reference it as a local variable in a BP function, the defaults that I set are not there (floats, ints defaulting to 0, Bools defaulting to false, etc).
Simple repro steps below.
*Licensee bug report linked for my reference
1. Create a Custom Struct
2. Add a float with a default value (e.g. 100.0)
3. Add the CustomStruct to a Blueprint. Default value 100.0 works as expected
4. Create a function and add the CustomStruct as a local variable. Default value shows as 0.0
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-16717 in the post.
|Component||UE - Gameplay - Blueprint|
|Created||Jun 9, 2015|
|Resolved||Jun 12, 2015|
|Updated||Apr 27, 2018|