Why is my open level function crashing the engine?

Hello!

I’m having an issue with the open level node. I’ve got it in three places.

To restart the currently open map.

As a menu to pick between two maps.

When I use it to re-open the menu from an open map (have tested with two maps) the entire engine crashes as soon as the buttons is pressed.

I can’t see what is causing it, especially as it works from the menu to the full game, any ideas?

5292-2014-05-01+16_58_01-aiebasegame.png

This is still an issue, can’t return to my main menu level.

Are you running this in a standalone player, or in editor? Because PIE does not necessarily play well with any sort of operations related to level loading/unloading.

Hi ,

Thanks for the suggestion, I tried the launcher in the editor and no luck.

I also tried a packaged build, also no luck although it gave me some feedback (see image), how can the file be missing? I’m using it!

So i duplicated the main menu map and put V2 on the end, now it loads fine, happy for a resolution.

As far as I can see though there should not have been an error in the first place, looks like something isn’t being cleaned up correctly in the project/engine itself.

6098-2014-05-12+12_01_17-aieframeworkv3+(32-bit,+pcd3d_sm5).png

Me too, even open in command line is crashing the engine. Sent couple of crash reports from clear blank project.
Using 4.7 preview 3

I also came across this issue. In my particular level, I have a bunch of actors that each have a user widget associated with them (like the pickups in the UMG tutorial).

I determined that this issue only occurred when those user widgets were in the viewport at the time I tried to go back to the main menu. Looping over the widgets and removing them from the viewport before calling Open Level fixed this for me.

Have you had to re-install your engines and migrate your content back in?

I am having this issue myself and currently checking file paths to see if the open level node is going to the right place. If you have found out what has caused this let me know please and thank you!!

I had this problem.

I guess the editor doesn’t like loading levels.
As suggested, the arrow beside the play button, I changed this to Standalone game tested in there… loading the next level from previous worked this way.

I had this problem. It was when clicking on something, it loads a new level… not the default level. If you’re crashing when you load the editor and cant even get in thats a different issue. Perhaps theres an config file in UE directory somewhere to change the default loaded level to at least get back into the project.

For my issue:
I guess the editor doesn’t like loading levels.
As suggested, the arrow beside the play button, I changed this to Standalone game tested in there… loading the next level from previous worked this way.

Just want to add my experience to this, that calling RemoveFromParent on the widgets in the EventEndPlay event solved my issue.

im having this issue too, 4.11 version. cant fix it

yes i have to no prevail

how would i loop over?