PipeRift / SaveExtension

Provides UE4 with a save-game system with support for savegame tags, level streaming and more
Apache License 2.0
164 stars 60 forks source link

BP Array of Structs SaveGame Variable wiping contents #51

Closed elevins closed 4 years ago

elevins commented 4 years ago

Describe the bug If the variable you want to save for an actor is in the form of an array of structs the data will be wiped clear after Loading.

To Reproduce Steps to reproduce the behavior:

  1. Create an actor with a variable of type: Array of Struct (Any BP Struct)
  2. Give the actor's variable some default values (or set values before save)
  3. Implement Save Extension and Save/Load the game
  4. After Load the variable will have empty values

Environment (please complete the following information):

muit commented 4 years ago

Hi @elevins,

Do this blueprint structs have their variables marked as save game? I tested this and variables on an array of blueprint structs saved correctly.

muit commented 4 years ago

Closing for tracking purposes. Feel free to re-open.