# \#gameinstance

**URL:** https://forums.unrealengine.com/tag/gameinstance/6316.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [What kind of Subsystems are replicated?](https://forums.unrealengine.com/t/what-kind-of-subsystems-are-replicated/480488)

<div class="topic-metadata">

**Author:** [@Bionic\_Ape](https://forums.unrealengine.com/u/Bionic_Ape)\
**Replies:** 12\
**Last updated:** [September 2, 2026, 9:06am UTC](https://forums.unrealengine.com/t/what-kind-of-subsystems-are-replicated/480488 "2026-09-02T09:06:33Z")

</div>

Subsystems are really cool, they keep things organized. But I don’t know how and when use them for replication. Engine? I don’t see how this would be replicated. Editor? I’m sure this is not replicated. GameInstance? …

---

## ["Get Current Level Name" not working in packed games?](https://forums.unrealengine.com/t/get-current-level-name-not-working-in-packed-games/459091)

<div class="topic-metadata">

**Author:** [@Lord7even](https://forums.unrealengine.com/u/Lord7even)\
**Replies:** 1\
**Last updated:** [August 7, 2025, 5:21am UTC](https://forums.unrealengine.com/t/get-current-level-name-not-working-in-packed-games/459091 "2025-08-07T05:21:30Z")

</div>

I just noticed, that the function “Get Current Level Name”, called in the Game Instance at Event Init returns “untitled\_0” in packed games. In the editor it works fine and returns the name of the map that is loaded. Is t…

---

## [Is this an appropriate use of Game Instance?](https://forums.unrealengine.com/t/is-this-an-appropriate-use-of-game-instance/2582771)

<div class="topic-metadata">

**Author:** [@e7de84f7c71249dc8a21a7d1f05899f3](https://forums.unrealengine.com/u/e7de84f7c71249dc8a21a7d1f05899f3)\
**Replies:** 4\
**Last updated:** [June 28, 2025, 6:09pm UTC](https://forums.unrealengine.com/t/is-this-an-appropriate-use-of-game-instance/2582771 "2025-06-28T18:09:50Z")

</div>

I’m designing a story-driven game in Unreal Engine using Blueprints. To manage story progression, I’m planning to use the Game Instance to track and control the current state of the narrative. Here’s how I envision the …

---

## [At loss with Game Instance and persistent memory](https://forums.unrealengine.com/t/at-loss-with-game-instance-and-persistent-memory/2328502)

<div class="topic-metadata">

**Author:** [@TheoT](https://forums.unrealengine.com/u/TheoT)\
**Replies:** 3\
**Last updated:** [February 12, 2025, 1:16pm UTC](https://forums.unrealengine.com/t/at-loss-with-game-instance-and-persistent-memory/2328502 "2025-02-12T13:16:59Z")

</div>

EDIT: My bad, in the save system I did not select the correct option to enable multilevel consistent saving in Easy Multi Save. Hi, Big problem with storing persistent variables in any shape or form. I have tried to sa…

---

## [GameInstance in multiplayer](https://forums.unrealengine.com/t/gameinstance-in-multiplayer/437406)

<div class="topic-metadata">

**Author:** [@Zoltan\_Vari](https://forums.unrealengine.com/u/Zoltan_Vari)\
**Replies:** 7\
**Last updated:** [January 27, 2025, 3:01pm UTC](https://forums.unrealengine.com/t/gameinstance-in-multiplayer/437406 "2025-01-27T15:01:51Z")

</div>

From my understanding the Game Instance is an object that is created at the start of each ue4 game executable regardless of whether it is a client or server. The Game Instance exists for the life of the executable. (http…

---

## [Retrieve GameMode and/or GameState in Editor](https://forums.unrealengine.com/t/retrieve-gamemode-and-or-gamestate-in-editor/401958)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7fcdb822](https://forums.unrealengine.com/u/anonymous_user_7fcdb822)\
**Replies:** 2\
**Last updated:** [July 17, 2024, 9:47pm UTC](https://forums.unrealengine.com/t/retrieve-gamemode-and-or-gamestate-in-editor/401958 "2024-07-17T21:47:00Z")

</div>

I’m just trying to retrieve the Game Mode and Game State of the EditorWorld. For some reason it is always returning null. I have made blueprint instances of my c++ classes for both the AGameModeBase and the AGameStateBa…

---

## [Best practice to store cross-level state](https://forums.unrealengine.com/t/best-practice-to-store-cross-level-state/1593260)

<div class="topic-metadata">

**Author:** [@Count.Numbers](https://forums.unrealengine.com/u/Count.Numbers)\
**Replies:** 3\
**Last updated:** [January 8, 2024, 1:54pm UTC](https://forums.unrealengine.com/t/best-practice-to-store-cross-level-state/1593260 "2024-01-08T13:54:24Z")

</div>

Hey all, I’m developing a single player game with many levels. The player transitions between those levels frequently, and both the levels and the players need to preserve state. E.g., door actors need to remember wheth…

---

## [Peroformance Issue about Saving Widget References in Game Instance](https://forums.unrealengine.com/t/peroformance-issue-about-saving-widget-references-in-game-instance/1595677)

<div class="topic-metadata">

**Author:** [@xiao5\_five](https://forums.unrealengine.com/u/xiao5_five)\
**Replies:** 0\
**Last updated:** [January 7, 2024, 6:27am UTC](https://forums.unrealengine.com/t/peroformance-issue-about-saving-widget-references-in-game-instance/1595677 "2024-01-07T06:27:07Z")

</div>

Hello guys, just curious about an issue. Due to some special conditions, I am trying to save multiple widgets as references inside a gameinstance with event init nodes connected. My concern is that will it cause trou…

---

## [OpenLevel from game instance init not working](https://forums.unrealengine.com/t/openlevel-from-game-instance-init-not-working/1322411)

<div class="topic-metadata">

**Author:** [@BioMedKUL](https://forums.unrealengine.com/u/BioMedKUL)\
**Replies:** 2\
**Last updated:** [October 5, 2023, 8:39am UTC](https://forums.unrealengine.com/t/openlevel-from-game-instance-init-not-working/1322411 "2023-10-05T08:39:40Z")

</div>

Hi, I’m trying to load a specific level from the game instance when the game starts, but only in certain circumstances. I currently do so by calling OpenLevel (after checking for the circumstances) in the GameInstance e…

---

## [Having Trouble keeping The First person rifle attached after death or level change.](https://forums.unrealengine.com/t/having-trouble-keeping-the-first-person-rifle-attached-after-death-or-level-change/1243553)

<div class="topic-metadata">

**Author:** [@Kerrycronic](https://forums.unrealengine.com/u/Kerrycronic)\
**Replies:** 0\
**Last updated:** [July 29, 2023, 4:40am UTC](https://forums.unrealengine.com/t/having-trouble-keeping-the-first-person-rifle-attached-after-death-or-level-change/1243553 "2023-07-29T04:40:54Z")

</div>

So I have a project setup using the first person template in 5.2. I’m using the rifle component as a character upgrade. I’ve only changed a few things from it’s original form. I have a custom game instance and save game …

---

## [Checkpoints stop working after adding Character Select...](https://forums.unrealengine.com/t/checkpoints-stop-working-after-adding-character-select/1211451)

<div class="topic-metadata">

**Author:** [@ttvErook](https://forums.unrealengine.com/u/ttvErook)\
**Replies:** 5\
**Last updated:** [June 28, 2023, 2:37am UTC](https://forums.unrealengine.com/t/checkpoints-stop-working-after-adding-character-select/1211451 "2023-06-28T02:37:46Z")

</div>

Hello, I have explained my issue in the video linked below. If someone could help me with the below-issue I would really apprecieate it. My discord is Erook#1707 If you have time to explain to me thoroughly through a …

---

## [Why does this reference fail?](https://forums.unrealengine.com/t/why-does-this-reference-fail/823317)

<div class="topic-metadata">

**Author:** [@cnapsys](https://forums.unrealengine.com/u/cnapsys)\
**Replies:** 6\
**Last updated:** [March 26, 2023, 3:10pm UTC](https://forums.unrealengine.com/t/why-does-this-reference-fail/823317 "2023-03-26T15:10:33Z")

</div>

So… I can’t figure out why this fails. On EventConstruct in my MainMenu, I Load Game from slot -\>cast to my saved game → promote to variable. (this seems to work fine, however \*\*\*) Next sequence, I cast to GI → Promote…

---

## [Help understanding GameInstance and GameSession classes in ShooterGame](https://forums.unrealengine.com/t/help-understanding-gameinstance-and-gamesession-classes-in-shootergame/747657)

<div class="topic-metadata">

**Author:** [@ZackAkai](https://forums.unrealengine.com/u/ZackAkai)\
**Replies:** 2\
**Last updated:** [January 13, 2023, 11:03pm UTC](https://forums.unrealengine.com/t/help-understanding-gameinstance-and-gamesession-classes-in-shootergame/747657 "2023-01-13T23:03:16Z")

</div>

I’ve got a working system set up that allows me to create, search for, join, and destroy listen servers. This was previously all being done on the GameInstance class. However while dissecting ShooterGame, I noticed tha…

---

## [Working with Saved Game Objects](https://forums.unrealengine.com/t/working-with-saved-game-objects/722344)

<div class="topic-metadata">

**Author:** [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Replies:** 6\
**Last updated:** [December 6, 2022, 9:46pm UTC](https://forums.unrealengine.com/t/working-with-saved-game-objects/722344 "2022-12-06T21:46:11Z")

</div>

I’ve been trying to develop a saved game system for my game for several weeks. I don’t know what I’m doing wrong, but I can’t ever get it to work 100% correctly. Can anyone explain the workflow to approaching a saved gam…

---

## [Inventory System Wİth Game Instance?](https://forums.unrealengine.com/t/inventory-system-with-game-instance/502631)

<div class="topic-metadata">

**Author:** [@Try\_Another](https://forums.unrealengine.com/u/Try_Another)\
**Replies:** 2\
**Last updated:** [February 27, 2022, 10:58pm UTC](https://forums.unrealengine.com/t/inventory-system-with-game-instance/502631 "2022-02-27T22:58:29Z")

</div>

I think I find out way of Easy Quiting (Crashing) Engine. So you don’t have to click those pesky X buttons. Jokes aside I wanted to have an inventory system which will not gonna have anything to do with actors. So fa…

---

## [Subsytem changes not testable](https://forums.unrealengine.com/t/subsytem-changes-not-testable/490062)

<div class="topic-metadata">

**Author:** [@yanniknelson](https://forums.unrealengine.com/u/yanniknelson)\
**Replies:** 0\
**Last updated:** [October 20, 2021, 5:32pm UTC](https://forums.unrealengine.com/t/subsytem-changes-not-testable/490062 "2021-10-20T17:32:41Z")

</div>

Hi so I’m programming a subclass of the UGameInstance subsystem, but whenever i make changes and compile, when I run the changes don’t take effect. In order for them to take effect i have to close and re-open the unreal …

---

## [Clean way to get variables from game instance to server?](https://forums.unrealengine.com/t/clean-way-to-get-variables-from-game-instance-to-server/485681)

<div class="topic-metadata">

**Author:** [@Maffinius](https://forums.unrealengine.com/u/Maffinius)\
**Replies:** 1\
**Last updated:** [July 12, 2021, 12:00pm UTC](https://forums.unrealengine.com/t/clean-way-to-get-variables-from-game-instance-to-server/485681 "2021-07-12T12:00:14Z")

</div>

Hey all, iam trying to get a simple integer from the game instance to the game server when/after loading the main level. But it seems like iam doing something fundamentally wrong (i guess) because nothing i have tried w…

---

## [Which objects to store which bits of save game blueprints?](https://forums.unrealengine.com/t/which-objects-to-store-which-bits-of-save-game-blueprints/486060)

<div class="topic-metadata">

**Author:** [@Sudo-Ku](https://forums.unrealengine.com/u/Sudo-Ku)\
**Replies:** 0\
**Last updated:** [July 11, 2021, 5:38pm UTC](https://forums.unrealengine.com/t/which-objects-to-store-which-bits-of-save-game-blueprints/486060 "2021-07-11T17:38:05Z")

</div>

(not sure what happened to my other question that was awaiting mod review for the last 3 days, so I’ll add this in the meantime as it’s related)… I’m new to working with save game files and I think I understand the basi…

---

## [Keep SaveGame object in game instance or copy everything I need?](https://forums.unrealengine.com/t/keep-savegame-object-in-game-instance-or-copy-everything-i-need/400503)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_67dfa242](https://forums.unrealengine.com/u/anonymous_user_67dfa242)\
**Replies:** 2\
**Last updated:** [July 11, 2021, 3:36pm UTC](https://forums.unrealengine.com/t/keep-savegame-object-in-game-instance-or-copy-everything-i-need/400503 "2021-07-11T15:36:46Z")

</div>

I was copying my savegame data over to my game instance when I wondered if I really needed to do that, and if I could just use the structure itself throughout the game, updating that directly, and then saving it without …

---

## [Best way to store/access information about a level?](https://forums.unrealengine.com/t/best-way-to-store-access-information-about-a-level/482941)

<div class="topic-metadata">

**Author:** [@Decdot](https://forums.unrealengine.com/u/Decdot)\
**Replies:** 4\
**Last updated:** [May 6, 2021, 8:24am UTC](https://forums.unrealengine.com/t/best-way-to-store-access-information-about-a-level/482941 "2021-05-06T08:24:12Z")

</div>

I’m trying to figure out the most efficient way to store information about a level (name, description, thumbnail, high score, etc) so that I’m able to access and update it throughout the game. Currently I have a “Level…

---

## [Can i use same widget through menu level and game level?](https://forums.unrealengine.com/t/can-i-use-same-widget-through-menu-level-and-game-level/481062)

<div class="topic-metadata">

**Author:** [@Poza1993](https://forums.unrealengine.com/u/Poza1993)\
**Replies:** 15\
**Last updated:** [April 8, 2021, 5:40am UTC](https://forums.unrealengine.com/t/can-i-use-same-widget-through-menu-level-and-game-level/481062 "2021-04-08T05:40:34Z")

</div>

Hi, I am an amateur and i want to make a choice selection menu and deck selection menu (something like clash royal). I manage to do something like that (picture 1 and 2), but my question is :" How can I save images from…

---

## [Where is it better to place the general logic of the game as a program?](https://forums.unrealengine.com/t/where-is-it-better-to-place-the-general-logic-of-the-game-as-a-program/480924)

<div class="topic-metadata">

**Author:** [@Al3ksam](https://forums.unrealengine.com/u/Al3ksam)\
**Replies:** 4\
**Last updated:** [March 27, 2021, 2:15am UTC](https://forums.unrealengine.com/t/where-is-it-better-to-place-the-general-logic-of-the-game-as-a-program/480924 "2021-03-27T02:15:36Z")

</div>

Hello! I have the logic of setting the fullscreen mode. Is it better to put this in GameMode or Game Instance? GameMode GameInstance

---

## [How to use GameInstance for multiplayer](https://forums.unrealengine.com/t/how-to-use-gameinstance-for-multiplayer/437675)

<div class="topic-metadata">

**Author:** [@Steferich](https://forums.unrealengine.com/u/Steferich)\
**Replies:** 9\
**Last updated:** [March 8, 2021, 10:07pm UTC](https://forums.unrealengine.com/t/how-to-use-gameinstance-for-multiplayer/437675 "2021-03-08T22:07:29Z")

</div>

Hello, I’d like to know more about UGameInstance. I know it’s an object spawned at game creation and only destroyed when the game shuts down. In the API it also says that running a standalone game, there will only be on…

---

## [Get Player Controller from inside Game Instance?](https://forums.unrealengine.com/t/get-player-controller-from-inside-game-instance/479913)

<div class="topic-metadata">

**Author:** [@schmigel](https://forums.unrealengine.com/u/schmigel)\
**Replies:** 3\
**Last updated:** [March 8, 2021, 3:26pm UTC](https://forums.unrealengine.com/t/get-player-controller-from-inside-game-instance/479913 "2021-03-08T15:26:25Z")

</div>

Hi everyone! I’m trying to cast to my Player Controller inside the Init() in the Game Instance. The thing it always fails. The PController is APCBase, and it’s already defined as the default controller. Like this: AP…

---

## [Any example project that shows how to use gameinstance, gamemode?](https://forums.unrealengine.com/t/any-example-project-that-shows-how-to-use-gameinstance-gamemode/477260)

<div class="topic-metadata">

**Author:** [@galaxy\_Lee](https://forums.unrealengine.com/u/galaxy_Lee)\
**Replies:** 0\
**Last updated:** [January 14, 2021, 3:20pm UTC](https://forums.unrealengine.com/t/any-example-project-that-shows-how-to-use-gameinstance-gamemode/477260 "2021-01-14T15:20:17Z")

</div>

I downloaded unreal tournament source code. but too many lines, too complex to study. any simple example source code that shows how to use gameInstance, gameMode, playerState ?

---

## [Why not save everything to the game persistence level?](https://forums.unrealengine.com/t/why-not-save-everything-to-the-game-persistence-level/475446)

<div class="topic-metadata">

**Author:** [@mrstarks510](https://forums.unrealengine.com/u/mrstarks510)\
**Replies:** 3\
**Last updated:** [December 7, 2020, 10:50am UTC](https://forums.unrealengine.com/t/why-not-save-everything-to-the-game-persistence-level/475446 "2020-12-07T10:50:07Z")

</div>

Hi mrstarks510 I need to clarify a few things you said: I learned save my character stats to the player controller and not the player pawn as it will be destroyed during level transfer and the controller will like…

---

## [how to create mult game instance or merge them?](https://forums.unrealengine.com/t/how-to-create-mult-game-instance-or-merge-them/474889)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_db55f6ce1](https://forums.unrealengine.com/u/anonymous_user_db55f6ce1)\
**Replies:** 1\
**Last updated:** [November 23, 2020, 1:48pm UTC](https://forums.unrealengine.com/t/how-to-create-mult-game-instance-or-merge-them/474889 "2020-11-23T13:48:21Z")

</div>

I need more than one game instance in my game one is for saving and loading the game and the other one for connecting to the database it has only the user-id, but I should only assign one game instance to "game instance …

---

## [how to check end of the game](https://forums.unrealengine.com/t/how-to-check-end-of-the-game/473326)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ef9e6d841](https://forums.unrealengine.com/u/anonymous_user_ef9e6d841)\
**Replies:** 1\
**Last updated:** [October 23, 2020, 5:57pm UTC](https://forums.unrealengine.com/t/how-to-check-end-of-the-game/473326 "2020-10-23T17:57:30Z")

</div>

Hi, I have a class A inherited from SCompoundWidget. In my class A, I want to check end of the game.(playing). So when the game is shutdown, I can destroy the UI windows that I create in class A. I tried to use Shutdo…

---

## [Cant save or load settings. no errors](https://forums.unrealengine.com/t/cant-save-or-load-settings-no-errors/470954)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_964621bb](https://forums.unrealengine.com/u/anonymous_user_964621bb)\
**Replies:** 0\
**Last updated:** [September 10, 2020, 4:11am UTC](https://forums.unrealengine.com/t/cant-save-or-load-settings-no-errors/470954 "2020-09-10T04:11:16Z")

</div>

Hi, I’m new to game development. I’m trying to save user’s settings but failing without any errors. I have tried all the different approaches I could find online. Here are the solutions I tried \[1\]\[1\] \[2\]\[2\] \[3\]\[3\] I …

---

## [cant save or load settings. no error](https://forums.unrealengine.com/t/cant-save-or-load-settings-no-error/470951)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_964621bb](https://forums.unrealengine.com/u/anonymous_user_964621bb)\
**Replies:** 2\
**Last updated:** [September 8, 2020, 1:46pm UTC](https://forums.unrealengine.com/t/cant-save-or-load-settings-no-error/470951 "2020-09-08T13:46:42Z")

</div>

Hi, I’m new to game development. I’m trying to save user’s settings but failing without any errors. I have tried all the different approaches I could find online. Here are the solutions I tried \[1\]\[1\] \[2\]\[2\] \[3\]\[3\] I …

[Next page](https://forums.unrealengine.com/tag/gameinstance/6316.md?match_all_tags=true&page=1&tags%5B%5D=gameinstance)
