# What is the best way to handle Saving/Loading an Array of Objects?

**URL:** <https://forums.unrealengine.com/t/what-is-the-best-way-to-handle-saving-loading-an-array-of-objects/281775>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [April 27, 2014, 3:23am UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-handle-saving-loading-an-array-of-objects/281775 "2014-04-27T03:23:29Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![MaxCambs](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxcambs/32/625703_2.png) [@MaxCambs](https://forums.unrealengine.com/u/MaxCambs)\
**Post date:** [February 24, 2023, 12:17pm UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-handle-saving-loading-an-array-of-objects/281775/17 "2023-02-24T12:17:49Z")

</div>

More information on how to do this can be found in the post:

> [@Should I clear arrays of pointers before saving struct to GameSave?](https://forums.unrealengine.com/t/should-i-clear-arrays-of-pointers-before-saving-struct-to-gamesave/751456/22):
>
> As promised I have put up a complete example solution on my private GitHub: Hopefully, it helps future visitors. This would not have been possible without the help and guidance of @Chatouille. Cheers! M

I also liked there a GitHub repository I made containing a fully working example.

> **[GitHub - lumyx2/SavingTest: Saving/Loading Serialisation Example (Unreal 5.1)](https://github.com/lumyx2/SavingTest)**
>
> Saving/Loading Serialisation Example (Unreal 5.1). Contribute to lumyx2/SavingTest development by creating an account on GitHub.

Hope it helps people that find this post.

Cheers!

---

_[View the full topic](https://forums.unrealengine.com/t/what-is-the-best-way-to-handle-saving-loading-an-array-of-objects/281775)._
