Unreal Engine : 2nd level plays when on menu level

So I have the directory Content and inside of it i have the folders UI and Levels.

UI = Where my widgets are saved
Levels = Where my maps are stored.

When i press play the menu loads and is working like it’s supposed to but my second level starts playing inside of my main menu.

A this is a regeneration print string for my players stamina that shouldnt be running wile in the MainMenu level.

245693-capture.png

Inside of my MenuLevel blueprint

Inside my FirstPersonBP

Is TestWorld a sub level inside your MainMenu world?

Is the stamina/health UI part of the main menu widget?

Can you show us where the MainMenu level is supposed to be loaded?

Is TestWorld a sub level inside your MainMenu world?
Its a separate world.

Is the stamina/health UI part of the main menu widget?
The stamina system is located in my firstpersonBP

Can you show us where the MainMenu level is supposed to be loaded?
Not sure what you mean by that but the MainMenu is supposed to load first because it runs the script to open the menu.

So I’m assuming that MainMenu level is marked as the entry level in your project setting? Which is why it loads first and creates the main menu blueprint.

Where in your blueprints are you loading the TestWorld level? In an OnClicked event for your "Play Game"button?

So in my UI folder i have a widget called MainMenu and in it i have a on Clicked event:

245696-capture.png

StartGame = Button Id

Okay, so you probably confirmed that this event was not being triggered.

Aside from the Stamina/Health UI showing, how do you know that TestWorld is running? Is it possible that the widget for the Stamina/Health UI is being created and displayed while the MainMenu level is running and not the TestWorld?

I’m asking a lot of questions, but its the only way to filter out possible issues without looking at the project itself.

I edited my MainMenu widget and reoved the background, My TestWorld has objects and stuff.

I changed the GameMode Pawn to NONE, now it works! Thanks for helping!