Changing level after package doesn't work

I created a simple where the first level is the main menu. There are buttons for host and join the game.
When clicking the host game it will create a session and change the level to another one I created but, when I package this and open the game. When I click the Host game button it doesn’t change the level. (It kinda change it flashed to another level for a sec then back to the main menu).