# Unique ID for actor instances for saving

**URL:** <https://forums.unrealengine.com/t/unique-id-for-actor-instances-for-saving/2776185>\
**Category:** Blueprint\
**Tags:** savegame, instance, unreal-engine, saving, question\
**Created:** [September 16, 2026, 8:36am UTC](https://forums.unrealengine.com/t/unique-id-for-actor-instances-for-saving/2776185 "2026-09-16T08:36:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KMzuru](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kmzuru/32/88707_2.png) [@KMzuru](https://forums.unrealengine.com/u/KMzuru)\
**Post date:** [September 16, 2026, 8:36am UTC](https://forums.unrealengine.com/t/unique-id-for-actor-instances-for-saving/2776185/1 "2026-09-16T08:36:47Z")

</div>

Thought I’d ask here as I need help asap, I’m looking to generate unique ID’s for each instance of actors so I am able to save picked up objects. It is going to be used to save what items have been picked up, so I can save/load them, so it cannot EVER change, not when compiled, not when the project is closed, not when the game is packaged, never.

Here’s a quick list of what I’ve tried

> “get display name”, used for ages and seemed fine, but doesn’t work for shipping builds, even says so the description  
> “get object name”, doesn’t work with streaming levels, repeats names  
> “get actor GUID”, editor only  
> “new GUID”, first seemed to work and not change if I set it in the construction script, and then set a string to the GUID, make the string instance editable, and only get a new GUID if the string is empty

The “new GUID” system would work well, but when you close/open your project all the GUID’s reset, and I’ve kind of hit a wall here lol

(this is the construction script setup if it helps)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/3/de3066ff08e576242ac1b076a939bc0a82781d34.png)

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [September 16, 2026, 11:00am UTC](https://forums.unrealengine.com/t/unique-id-for-actor-instances-for-saving/2776185/2 "2026-09-16T11:00:00Z")

</div>

you dont need the string at all, save the GUID, when the construction script runs check if the guid is valid, if so do nothing

---

<div class="post-metadata">

**Author:** ![PREDALIEN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/predalien/32/1194670_2.png) [@PREDALIEN](https://forums.unrealengine.com/u/PREDALIEN)\
**Post date:** [September 16, 2026, 11:01am UTC](https://forums.unrealengine.com/t/unique-id-for-actor-instances-for-saving/2776185/3 "2026-09-16T11:01:28Z")

</div>

> [@Reliable Identification of Actors on Level Instances for Save System](https://forums.unrealengine.com/t/reliable-identification-of-actors-on-level-instances-for-save-system/2763283/4):
>
> I think you need to consider a system that assigns GUIDs at runtime (It seems there is no other way to solve the problems of level instances). And then - ALL your dynamic objects should be loaded (spawned) ONLY from the save file (or from the default level for first load).

---

<div class="post-metadata">

**Author:** ![PREDALIEN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/predalien/32/1194670_2.png) [@PREDALIEN](https://forums.unrealengine.com/u/PREDALIEN)\
**Post date:** [September 16, 2026, 11:07am UTC](https://forums.unrealengine.com/t/unique-id-for-actor-instances-for-saving/2776185/4 "2026-09-16T11:07:28Z")

</div>

However, if possible, it is better to avoid using GUIDs in favor of saving and loading object references. Standard serialization allows for the correct reconstruction of all dependencies between objects.

---

<div class="post-metadata">

**Author:** ![KMzuru](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kmzuru/32/88707_2.png) [@KMzuru](https://forums.unrealengine.com/u/KMzuru)\
**Post date:** [September 16, 2026, 11:09am UTC](https://forums.unrealengine.com/t/unique-id-for-actor-instances-for-saving/2776185/5 "2026-09-16T11:09:38Z")

</div>

Yeah makes sense lol, I just want to save multiple separate actors using the same array.  
I think I’ll be able to make a workaround if I get a unique identifier for each object per-steaming level and then just add the name of the currently streamed level (already saved in the player) onto that, so I just want to make sure, if I use “get object name” will the order of which the objects are named always be consistent (including in the shipping package)? If not is there some other way of doing it that will do so.

---

<div class="post-metadata">

**Author:** ![PREDALIEN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/predalien/32/1194670_2.png) [@PREDALIEN](https://forums.unrealengine.com/u/PREDALIEN)\
**Post date:** [September 16, 2026, 11:19am UTC](https://forums.unrealengine.com/t/unique-id-for-actor-instances-for-saving/2776185/6 "2026-09-16T11:19:45Z")

</div>

> [@KMzuru](#):
>
> get object name

You specifically need the object PATH.  
The name is merely the final part of the path, and they may coincide. The path is unique to each object.  
The actor’s path also includes the name of the level to which it belongs.

And that is exactly what is inside an object reference.

---

<div class="post-metadata">

**Author:** ![KMzuru](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kmzuru/32/88707_2.png) [@KMzuru](https://forums.unrealengine.com/u/KMzuru)\
**Post date:** [September 16, 2026, 11:22am UTC](https://forums.unrealengine.com/t/unique-id-for-actor-instances-for-saving/2776185/7 "2026-09-16T11:22:44Z")

</div>

Thanks, very helpful, is there any documentation for how it works when packaged for shipping? more specifically if C:\Users\(name) will be included in the path or not.

(and yes I’m aware of the object reference, and it would be better, it’s just much more convenient for my purposes to make it non-actor specific, unless there is a way to make it not, not too familiar with how it works.)

---

<div class="post-metadata">

**Author:** ![PREDALIEN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/predalien/32/1194670_2.png) [@PREDALIEN](https://forums.unrealengine.com/u/PREDALIEN)\
**Post date:** [September 16, 2026, 11:33am UTC](https://forums.unrealengine.com/t/unique-id-for-actor-instances-for-saving/2776185/8 "2026-09-16T11:33:20Z")

</div>

> [@KMzuru](#):
>
> C:\Users\(name

No, the path looks like this:

> /Game/MapsFolder/LevelName.LevelName:PersistentLevel.Actor\_0

Game - this is your project’s content folder.

> [@KMzuru](#):
>
> (and yes I’m aware of the object reference, and it would be better, it’s just much more convenient for my purposes to make it non-actor specific, unless there is a way to make it not, not too familiar with how it works.)

Upon loading, you can (and should) restore the object paths. Then, all references will automatically be correct.

It is important, however, not to change the load sequence: spawning objects → replacing their paths with the saved ones → loading references.
