Really strange thing happens with structures

So, there is my problem. I have ItemData structure for all of my items. And suddenly, almost every item with that structure clears it! (Before there was info about structure, after it’s gone)

Any ideas why it’s happens? Fun fact: not every item erases it’s structure. One of weapon keeps it struct, while other clears it.

You mean it’s cleared when you update the Struct with a new value of one of the members?

If you set one value and leave others blank, they will be all set to 0/null, if that’s the case.

Can you show some screenshots of what you’re trying to do?

oohhh, i see. Isn’t it supposed to set only new one and not clear all anothers?

BUMP, because it’s happened again - maybe i didn’t explain it correctly. I have struct in my actors, and some other structs in other objects. And after some time, all variables set to their default. I can’t say what i did because i don’t know, but not all structs got erased - both actors are on scene, but one of them kept his struct, while other one erased.

Are you changing the structs? that might cause you to lose the information set in your actors

Can you show the code for setting and updating the structs?..

Sometimes i do, but AFAIK it doesn’t affect it because after i change struct and check actors, they’re fine. I noticed that i totally forgot to say that it happens not in game but in editor. I set(in editor) variable and then in editor it gone(and in game as well)

I’m pretty sure that it not the case, because it happens in editor, not the game.I set(in editor) variable and then in editor it gone(and in game as well).