[BUG]Struct var doesn't mantain defaults

Branch: Binary

Build Version: 4.6.1-2386410

Detailed description of issue:
You have a basic Struct (tested with all integers fields), you also have a Base Blueprint that has struct as a variable. You set some defaults for struct variable (Not struct defaults, but variable’s default value). Then, if you make a new blueprint extending from base blueprint, and you try to override variable default values, when you compile, every value that you didn’t change will become 0. And if you set value to same that default value and compile it will become 0 too.
This happens in a fresh project.

Repro Steps

1- Create a new Struct

2- Create a blueprint that has that struct as variable.

3- Set default values for blueprint struct var.

4- Create a child of first blueprint

5- Change one value of struct variable in child blueprint

6- Compile

Attachment

Content folder of a clean project reproducing error.

Sorry for my English. And thanks.

Hey lchproducciones,

Thanks for report! I was able to reproduce this behavior and have entered a bug report for developers to look over (UE-7458). I will let you know when I see any update on it. Thanks again!

I was able to reproduce this. Some Updates?

Hi Kheka,

There hasn’t been any progress on this yet, but I’ve added a note saying more people are interested. I’ll post here when I see any updates. Thanks for your patience!

I think it was fixed by PR 779

Still having this problem in 4.7.3, Really annoying bug.
Just wanted to add my voice for therapy reasons, no need to reply unless there’s updates :slight_smile: