Set variables of UStructs

Hi, I’m trying to set the values of variables inside UStructs.

I saw it’s not possible to do so in blueprint, like Set Health and put the value; so I’m doing it from code.
But even though it compiles, it’s not setting the value to the variable. I’m being forced to do a constant Make MyStrucut from blueprint which receives a lot of variables assignation.

Is there any way to do this properly? I mean, just set a single variable.

Thank you,

In blueprint, Break the struct and then Make it.

It is messier than it could be, and Epic has recognized the need for a cleaner solution, but it works.

Yeap, that’s what I’m doing. Thanks anyway for the reply.