# Game instance lose object on "Open level"

**URL:** <https://forums.unrealengine.com/t/game-instance-lose-object-on-open-level/440924>\
**Category:** Blueprint\
**Tags:** instance, open-level, unreal-engine, question, Blueprint\
**Created:** [January 9, 2019, 7:17am UTC](https://forums.unrealengine.com/t/game-instance-lose-object-on-open-level/440924 "2019-01-09T07:17:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3af026a2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3af026a2](https://forums.unrealengine.com/u/anonymous_user_3af026a2)\
**Post date:** [January 9, 2019, 7:17am UTC](https://forums.unrealengine.com/t/game-instance-lose-object-on-open-level/440924/1 "2019-01-09T07:17:44Z")

</div>

Hello. I have inherited instance class, at game start i am creating an actor and write its reference in instance.  
Next i call “open level” and after that, i am lose actors reference, it becomes “not valid” and actor disappears from “world outliner”.

PS Yes i am set new instance in Map&Modes.

As i read, actors would always destroyed when “Non-seamless travel”.  
So i am little confused, because i need an incapsulated data with own methods, actors\object is pretty good for this, but i cant transfer it thru level change.  
And i cant use seamless travel, cause session creation.

---

<div class="post-metadata">

**Author:** ![Evigmae](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/evigmae/32/1187349_2.png) [@Evigmae](https://forums.unrealengine.com/u/Evigmae)\
**Post date:** [January 9, 2019, 3:02pm UTC](https://forums.unrealengine.com/t/game-instance-lose-object-on-open-level/440924/2 "2019-01-09T15:02:38Z")

</div>

Hello there, sorry for your misunderstanding.

Actors belong to the map. if the map is gone, they’re gone too. The only single class that exists beyond maps is the game instance, everything else will cease to exists the moment their map is unloaded.

If you’re using level streaming and you need your actor to cross maps, then place in the persisten level.

If you’re from one persisten level to another, you can’t carry over anything. You would have to fake it by storing anything relevant to that actors in the game instance and then recreating it in the new map.

Keep in mind games are all about smoke and mirrors. You’re always faking stuff that from the outside just looks right.

What you keep with seamless travel are the connections to the clients. but not the actors.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3af026a2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3af026a2](https://forums.unrealengine.com/u/anonymous_user_3af026a2)\
**Post date:** [January 9, 2019, 5:17pm UTC](https://forums.unrealengine.com/t/game-instance-lose-object-on-open-level/440924/3 "2019-01-09T17:17:35Z")

</div>

So there is no right way to make any global logic outside instance?  
Recreating is not a way, because it much easier to make all variables and methods in instance from start and forget about transfering at all, than have an individual actor and additional methods\vars for transfer.

PS in seamless travel description, there are note about travel actor list, actors in that list able to travel between maps. I think it is what i needs, but there no way to use seamless travel in editor (without building execution file every time).

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3af026a2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3af026a2](https://forums.unrealengine.com/u/anonymous_user_3af026a2)\
**Post date:** [January 9, 2019, 5:44pm UTC](https://forums.unrealengine.com/t/game-instance-lose-object-on-open-level/440924/4 "2019-01-09T17:44:24Z")

</div>

Ok, the solution is pretty simple, you just need UObject instead of AActor. UObject doesnt belong to level and may be transfered after the level change.

I am just create BP Class inherited from UObject, take ownership to instance and save reference. After “Open level”, object still “Valid”

---

<div class="post-metadata">

**Author:** ![Evigmae](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/evigmae/32/1187349_2.png) [@Evigmae](https://forums.unrealengine.com/u/Evigmae)\
**Post date:** [January 9, 2019, 6:15pm UTC](https://forums.unrealengine.com/t/game-instance-lose-object-on-open-level/440924/5 "2019-01-09T18:15:11Z")

</div>

will have to try that one. the documentation never mentions it i think. and it makes sense. could come in handy!

---

<div class="post-metadata">

**Author:** ![kristian0049](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kristian0049](https://forums.unrealengine.com/u/kristian0049)\
**Post date:** [November 27, 2022, 12:41pm UTC](https://forums.unrealengine.com/t/game-instance-lose-object-on-open-level/440924/6 "2022-11-27T12:41:03Z")

</div>

Hello , I know this is an old post but it took my a whole week just to find this answer. Thank you for explaining 😃 and have a good day!!!
