# Main Menu level not loading

**URL:** <https://forums.unrealengine.com/t/main-menu-level-not-loading/499954>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, UE4-27, question\
**Created:** [February 19, 2022, 4:22pm UTC](https://forums.unrealengine.com/t/main-menu-level-not-loading/499954 "2022-02-19T16:22:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jarabak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jarabak/32/88717_2.png) [@Jarabak](https://forums.unrealengine.com/u/Jarabak)\
**Post date:** [February 19, 2022, 4:22pm UTC](https://forums.unrealengine.com/t/main-menu-level-not-loading/499954/1 "2022-02-19T16:22:20Z")

</div>

Hi I’m currently working on a fps game and I ran into a problem. At the end I have an actor trigger that creates a level complete widget. In the widget there’s a return to main menu button that has an open level bind to the main menu. However when it is pressed, the main menu map loads for a brief second and the immediately loads the level map again with disabled inputs. I don’t know what is the problem, but it used to give me an error :

TravelFailure: InvalidURL, Reason for Failure: ‘Invalid URL: /FirstPersonBP/Map/FirstPersonExample’. Shutting down PIE.  
TravelFailure: ClientTravelFailure, Reason for Failure: ‘Invalid URL: /Game/Shoter/Map/MainMenuMap’. Shutting down PIE.

But it doesn’t anymore

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/d/1/0d15e365a3d545d579d87035868bb2ac396fe31a.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 19, 2022, 5:42pm UTC](https://forums.unrealengine.com/t/main-menu-level-not-loading/499954/2 "2022-02-19T17:42:13Z")

</div>

We’ve gotta be careful with terminology here… when you say

> [@Jarabak](#):
>
> that has an open level bind to the main menu.

do you mean you’re binding and event, or do you just mean the code we see here?

If it’s just the code we see here, it should work fine, unless your main menu is then immediately loading the next level…

---

<div class="post-metadata">

**Author:** ![Jarabak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jarabak/32/88717_2.png) [@Jarabak](https://forums.unrealengine.com/u/Jarabak)\
**Post date:** [February 19, 2022, 6:17pm UTC](https://forums.unrealengine.com/t/main-menu-level-not-loading/499954/3 "2022-02-19T18:17:26Z")

</div>

It’s a simple on click button event, just as you see on the image. Now after some experimenting I found out that the issue is with the game mode. If I leave the default pawn as the player blueprint, the player has the same functions as in game (Moving, shooting in the void of the main menu screen). But I found out that for the main menu game mode I’m suppose to use a character as the default pawn. On the game start it works as intended (In the main menu is only menu ui and a mouse icon, and in game the player hud without the mouse icon). However again after reaching the trigger and firing the on click button event the original issue occurs.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/7/ec7a8320f74a7e991ce4344451102ff3cbc45944.png)

TL;DR If I select the character blueprint as the default pawn it works but the player has game inputs and ui in main menu, and if I select character as the default pawn I have the issue stated in the above

---

<div class="post-metadata">

**Author:** ![Jarabak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jarabak/32/88717_2.png) [@Jarabak](https://forums.unrealengine.com/u/Jarabak)\
**Post date:** [February 19, 2022, 6:19pm UTC](https://forums.unrealengine.com/t/main-menu-level-not-loading/499954/4 "2022-02-19T18:19:24Z")

</div>

When the game modes share the same default pawn:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/7/8f76a9944a5d4492beb942f681e00e0529c74fbe.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 19, 2022, 7:44pm UTC](https://forums.unrealengine.com/t/main-menu-level-not-loading/499954/5 "2022-02-19T19:44:51Z")

</div>

Have you tried just clearing the pawn on the menu level? ( don’t specify a pawn there ).
