[4.10.4] Struct resets defaults after closing/restart

Hi, its quite a similar problem like this:

but since its called resolved i thought i give it a try.

I created a struct with Multiple BP Arrays of the same Type, to get a list of possible Enemies I want to spawn in the selected level. I fill the struct defaults inside the struct BP.

After creating a variable of this type in the GameInstance it works fine.

After restarting the project the struct defaults are emptied out.

Then after refilling the Struct, which is the first screenshot, it is still not working because the defaults of the created variable in the GameInstance are ignoring the new defaults, even i never touched it. They are still empty and i would have to set them new inside the GameInstance variable.

I have some more structs in this project but it only happens to this one. I dont know if its important but I’m using other structs inside the BP_BossEnemie.

I hope it is understandable.

Edit: I found out that it seems, that after restarting the project ue4 cant find all the children of BP_Enemie.

Hello Sudikinoko,

I was able to reproduce this issue on our end in the 4.10.4 version of the engine. However, after running this same test in 4.11 it appears to be working as intended. As for the status of the issue that you linked above, the status for that issue has not yet been updated to fixed as of yet. I hope that this information helps.

Make it a great day

Hello , thank you for the information. I’ll try to convert my project to 4.11.

Is there a fix or pull for this on version 4.8.3 ? I having the same problem and it is killing me after every restart :frowning:

Hello Cashper,

The issue UE-7817 has not yet been updated to fixed as of yet and so there is not a commit that can be given, however I will be sure bump up the community interest in this issue.

Make it a great day

Hi Rudy.

Okay, thanks, i think alot are having this issue, multi dementional arrays with class variables, inside structures are also defaulted on editor restart. I hope this will be fixed soon, or they find a work around. This is really slowing the progress of our game, and limiting our options, but thx for the quick anwser, i will stay in touch :slight_smile:

Hi Ruddy,

I’m on 4.15 and I’m having this same issue.

Hello ,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provide screen shots of any settings/blueprints that may be involved with this issue?