Trying to make main menu load from pause menu.



image

I’m trying to get it to load the main menu map with the main menu widget when you press main menu in the pause menu widget. The main menu map is set as the default with the gamemode set to main menu gamemode, then when you play you’re in the player gamemode. So it should be simple, open level by name “MainMenuMap” then it should open and create the widget, but instead it freezes the game, says its in the Main Menu Map but obviously i can still see all the objects from the previous level, anyone know what is the issue?

Hey @God_Ozai!

It’s possible there’s an issue with “Remove From Parent” being before “Load Level”. Try moving “Remove from parent” to the end. Remove from parent is the equivalent of DestroyActor, and I bet it’s getting to begin the LoadLevel but then it’s getting stopped.

Give that a try and let us know how it goes!


tried that, didnt seem to work


this is how main menu is supposed to look (nothing in it just black), but when I load the main menu level through the pause menu widget,

It loads main menu map as the other level whilst still being names the main menu map

Hmm… Make sure you have a separate game mode for the mainmenu map that does not have a default pawn at all. I don’t know if that could be affecting it, as I don’t know what’s on your default pawn.

Can you show your world outliner for the Main Menu map?

I forgot to close this post, anyways I didnt necessarily fix it but, rather realised that level streaming is just better and works properly.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.