# Trying to Save/Load Actor\_BP Location Variable From Game Instance (Not Saving Location)

**URL:** <https://forums.unrealengine.com/t/trying-to-save-load-actor_bp-location-variable-from-game-instance-not-saving-location/463080>\
**Category:** Community & Industry Discussion\
**Tags:** actor-blueprint, game-instance, unreal-engine, saving, question\
**Created:** [March 30, 2020, 5:43pm UTC](https://forums.unrealengine.com/t/trying-to-save-load-actor_bp-location-variable-from-game-instance-not-saving-location/463080 "2020-03-30T17:43:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_M\_M](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@James\_M\_M](https://forums.unrealengine.com/u/James_M_M)\
**Post date:** [March 30, 2020, 5:43pm UTC](https://forums.unrealengine.com/t/trying-to-save-load-actor_bp-location-variable-from-game-instance-not-saving-location/463080/1 "2020-03-30T17:43:10Z")

</div>

I have a simple save system set up using my game instance and it has worked so far saving my characters variables (location, health,ammo etc.). I’ve now tried to get this to save a Actor\_BP location but it doesn’t seem to save the location to the SaveGame\_BP. I couldn’t figure out a way to get to the game instance to have a reference for the Actor\_BP so I’m using event dispatchers in the game instance. Not sure if I’m just missing something simple or if my system of using event dispatchers will even work. any ideas/ solutions would be appreciated.

I’ve attracted images of my Actor\_BP where the Save/Load Custom events are being bound to the event dispatcher and my game instance save and load custom events.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [March 30, 2020, 6:07pm UTC](https://forums.unrealengine.com/t/trying-to-save-load-actor_bp-location-variable-from-game-instance-not-saving-location/463080/2 "2020-03-30T18:07:04Z")

</div>

It’s quite hard to tell from bits of blueprints, but it looks like ( for the player ) you’re creating the savegame everytime. That’s gonna overwrite it every time.

---

<div class="post-metadata">

**Author:** ![James\_M\_M](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@James\_M\_M](https://forums.unrealengine.com/u/James_M_M)\
**Post date:** [March 30, 2020, 6:41pm UTC](https://forums.unrealengine.com/t/trying-to-save-load-actor_bp-location-variable-from-game-instance-not-saving-location/463080/3 "2020-03-30T18:41:04Z")

</div>

I have a look at changing some things around. Saying that, saving variables for the player works fine.

---

<div class="post-metadata">

**Author:** ![ugmoe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ugmoe](https://forums.unrealengine.com/u/ugmoe)\
**Post date:** [March 30, 2020, 7:09pm UTC](https://forums.unrealengine.com/t/trying-to-save-load-actor_bp-location-variable-from-game-instance-not-saving-location/463080/4 "2020-03-30T19:09:26Z")

</div>

try just getting rid of that “Save game to slot” after the “Save game ED”, that might fix it. You’re already saving with the ED, then right after that, you’re saving an empty game to your slot.

---

<div class="post-metadata">

**Author:** ![James\_M\_M](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@James\_M\_M](https://forums.unrealengine.com/u/James_M_M)\
**Post date:** [March 31, 2020, 10:56am UTC](https://forums.unrealengine.com/t/trying-to-save-load-actor_bp-location-variable-from-game-instance-not-saving-location/463080/5 "2020-03-31T10:56:04Z")

</div>

Turns out I did a terrible job explaining the issue. I had a problem saving the location of an object that could be picked up in the level. I fixed it by creating a third variable in my Game Instance and setting that when the Event Dispatcher calls to Save Game. Then setting a Vector variable in my (Pickup Item) Actor\_BP with the vector location stored in the game instance.
