# Problem populating world after OpenLevel function (Load Game Functionality)

**URL:** <https://forums.unrealengine.com/t/problem-populating-world-after-openlevel-function-load-game-functionality/559903>\
**Category:** C++\
**Tags:** unreal-engine, UE5-0, CPP, question\
**Created:** [May 18, 2022, 5:10am UTC](https://forums.unrealengine.com/t/problem-populating-world-after-openlevel-function-load-game-functionality/559903 "2022-05-18T05:10:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![farzadFedora1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@farzadFedora1](https://forums.unrealengine.com/u/farzadFedora1)\
**Post date:** [May 18, 2022, 5:10am UTC](https://forums.unrealengine.com/t/problem-populating-world-after-openlevel-function-load-game-functionality/559903/1 "2022-05-18T05:10:03Z")

</div>

Gents,

My GameInstance class has two methods, SaveGame and LoadGame which are called using BP in the game menu.

In my LoadGame function, I first load the level, then populate the game world (such as player location, rotation, stats, score, etc).

but after I call the UGameplayStatics::OpenWorld function, regardless of what I set for player, the map starts from its original state and my changes aren’t loaded.

I even tried fixing it by calling the GetWorld() twice (once before loading the level and once after). but it didnt help.

any ideas how I can fix this?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/b/ddb8d5d38ee0ae14cb1b42ccbddeb928955fbfe9.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/f/6eff292f01c3001f97e4b38abc287be1348e087f.png)

Thank you in advance.
