How to load game in UI blueprint?

  1. Use [Open Level] node to load a level from the saved name. The issue with that is that you can’t set player location right away, because once you call the [Open Level] node, everything else stops and your widget gets destroyed. So you can open level from UI, but setting the player location should probably be done elsewhere.

For instance, create a bool variable called Is Loading and a vector variable New Location in the game instance. When you load the game from UI, set it to True. When a new level is loaded, you can check the Is Loading bool in the Game Mode, for example, because it’s being reloaded when a new level is opened. If it’s true, get the New Location from the game instance and set the player character location, then change the bool back to False.

  1. You can’t access the level blueprint from UI or from other blueprints.

  2. You need to set the input mode to game.