Download

Saving/Loading Actor Properly

Hello, I’ve run into a bit of a snag with my latest project. I’m using an actor blueprint to utilize global variables, and all is well as far as referencing them amongst blueprints while the game is running. However, upon server restart, all of the variables reset. What am I doing, or is there a better way to do this? I’m storing arrays of information in this actor, so it’s important that it remains in tact across server restarts.

Edit: This video helped me https://www.youtube.com/watch?v=6l7uynUwm5M&app=desktop

Check SaveGame on the variables you need to persist in the details panel of the variable under the graph tab.