# Game instance 

**URL:** <https://forums.unrealengine.com/t/game-instance/1882604>\
**Category:** Programming & Scripting\
**Tags:** game-instance, unreal-engine, question\
**Created:** [May 31, 2024, 2:59pm UTC](https://forums.unrealengine.com/t/game-instance/1882604 "2024-05-31T14:59:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![P4N1H3R](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@P4N1H3R](https://forums.unrealengine.com/u/P4N1H3R)\
**Post date:** [May 31, 2024, 2:59pm UTC](https://forums.unrealengine.com/t/game-instance/1882604/1 "2024-05-31T14:59:39Z")

</div>

Hello, so I want to make a small game where I will player the freedom to choose the character form the ready player me character creator, so I want that same character to appear in the next level.  
I know this can be done with game instance, but I’m kinda lost, can anyone help me with this?  
Thanks

---

<div class="post-metadata">

**Author:** ![GRIM\_Warlock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/grim_warlock/32/642970_2.png) [@GRIM\_Warlock](https://forums.unrealengine.com/u/GRIM_Warlock)\
**Post date:** [May 31, 2024, 3:06pm UTC](https://forums.unrealengine.com/t/game-instance/1882604/2 "2024-05-31T15:06:45Z")

</div>

Hey @P4N1H3R , welcome to the forum!

There are some classes that are persistent through levels and of which only one instance can exist, just like GameInstance.

You can save all the parameters and data you need on character creation in the GameInstance, and then read and reapply them after level transition / load.

You can add logic to retrieve the “skin” on the BeginPlay of your player character class.

---

<div class="post-metadata">

**Author:** ![P4N1H3R](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@P4N1H3R](https://forums.unrealengine.com/u/P4N1H3R)\
**Post date:** [June 1, 2024, 4:34am UTC](https://forums.unrealengine.com/t/game-instance/1882604/3 "2024-06-01T04:34:12Z")

</div>

Hey, thank you so much for the answer.  
Actually I don’t know how to do that, as I am very new to this ue game development.  
Can you please elaborate more? Or give me some examples?  
Thank you so much again!

---

<div class="post-metadata">

**Author:** ![GRIM\_Warlock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/grim_warlock/32/642970_2.png) [@GRIM\_Warlock](https://forums.unrealengine.com/u/GRIM_Warlock)\
**Post date:** [June 1, 2024, 4:47pm UTC](https://forums.unrealengine.com/t/game-instance/1882604/4 "2024-06-01T16:47:37Z")

</div>

Well, when someone customizes a character, there are values that change like height, weight, hair cut, hair color, skin color, …

When a player is done customizing their character, save all those values. I would assume your character maker has some sort of struct or data set to store all those values, so you can probably just copy that data variable and store that copy in your GameInstance.

When a playable level loads, in your Player blueprint / class get a reference to the GameInstance, retrieve that data and apply those values again to the character.

I can’t give more details since I don’t know how your current system works, but as a general idea that would be the base logic.

---

<div class="post-metadata">

**Author:** ![P4N1H3R](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@P4N1H3R](https://forums.unrealengine.com/u/P4N1H3R)\
**Post date:** [June 1, 2024, 4:56pm UTC](https://forums.unrealengine.com/t/game-instance/1882604/5 "2024-06-01T16:56:38Z")

</div>

Thank you for answer!  
So, I created a small character creator system using skeletal meshes and material, etc. and tried game instance and yeah, it’s working properly.  
But whenever I use ready player me character creator for unreal engine, same issue persists.
