# Help me with my save system

**URL:** <https://forums.unrealengine.com/t/help-me-with-my-save-system/596099>\
**Category:** C++\
**Tags:** unreal-engine, UE4-26, Blueprint, question\
**Created:** [July 3, 2022, 1:02pm UTC](https://forums.unrealengine.com/t/help-me-with-my-save-system/596099 "2022-07-03T13:02:04Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![Td1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/td1/32/894132_2.png) [@Td1](https://forums.unrealengine.com/u/Td1)\
**Post date:** [July 11, 2022, 8:21am UTC](https://forums.unrealengine.com/t/help-me-with-my-save-system/596099/24 "2022-07-11T08:21:15Z")

</div>

when i try to let them come from the SG reference it say  
(Save Object Reference Is Not compilated with Save game Object Reference)  
and  
(The SG variable type is Save Game )

---

<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:** [July 11, 2022, 8:22am UTC](https://forums.unrealengine.com/t/help-me-with-my-save-system/596099/25 "2022-07-11T08:22:37Z")

</div>

SG variable type needs to be your SG type 🙂

---

<div class="post-metadata">

**Author:** ![Td1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/td1/32/894132_2.png) [@Td1](https://forums.unrealengine.com/u/Td1)\
**Post date:** [July 11, 2022, 9:59am UTC](https://forums.unrealengine.com/t/help-me-with-my-save-system/596099/26 "2022-07-11T09:59:07Z")

</div>

> [@ClockworkOcean](#):
>
> G variable type needs to be your SG

so how do i make my SG type i prompted ( load game form slot ) To a variable

---

<div class="post-metadata">

**Author:** ![Td1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/td1/32/894132_2.png) [@Td1](https://forums.unrealengine.com/u/Td1)\
**Post date:** [July 11, 2022, 10:01am UTC](https://forums.unrealengine.com/t/help-me-with-my-save-system/596099/27 "2022-07-11T10:01:12Z")

</div>

do i need to cast to my save then promote to a variable

---

<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:** [July 11, 2022, 10:03am UTC](https://forums.unrealengine.com/t/help-me-with-my-save-system/596099/28 "2022-07-11T10:03:44Z")

</div>

If you just make the SG variable of your save game type. And put the cast in where I showed you above.

---

<div class="post-metadata">

**Author:** ![Td1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/td1/32/894132_2.png) [@Td1](https://forums.unrealengine.com/u/Td1)\
**Post date:** [July 11, 2022, 10:05am UTC](https://forums.unrealengine.com/t/help-me-with-my-save-system/596099/29 "2022-07-11T10:05:45Z")

</div>

> [@ClockworkOcean](#):
>
> u just make the SG variable of your save game type. And put the cast in where I showed you above.

okey i fixed it thx ur too helpful

[Previous page](https://forums.unrealengine.com/t/help-me-with-my-save-system/596099.md?page=1)
