Int/Float Default Value Is Always 0

Okie I think I found a solution to this possible symptom.

For context:-

  • My game is on 4.20.3
  • I am using blueprints, but have some C++ (not sure if this plays into the bug)
  • I have a parent character blueprint that I’m building a majority of my functionality and default variable values into
  • When my game starts I spawn in a character which is one of many child blueprints of the main parent blue print
  • The child blueprint does NOT seem to have the default values that were set in the parent blue print. They were all Zero

The variables that were resetting to zero in the child blueprints had been newly DUPLICATED through the editor and setup with default values after renaming them. (I had been doing this duplicating on the parent blue print, I had NOT been touching the child blueprint at all)

What I discovered when diving into my child blueprint; after I enabled the editor to show Inherited Variables; was that little yellow arrow icon next to the problem variables. For some reason my child blueprint was NOT using the default values.

I clicked the little yellow arrow icon through the entire child blueprint on the inherited values and the problem was fixed! :smiley: