5.1 Open Level (by Name) node does not work in a packaged game. It brings back to the same level.

CureDespair
Sat, 19 Nov 2022 05:36:35 +0000
Feedback & Requests

Open Level (by Name) node does not work in a packaged game. It brings back to the same level.

Version: 5.1.0-23058290+++UE5+Release-5.1
Steps to reproduce:

Make a simple game with two levels. Call open level on the starting level and the next level should open up. Test that Open Level (by name) works. Now package the game for Windows and then play the packaged game and try to open up the level again.

Here is a test project. Space bar to go from the ‘Start’ level to ‘Level1’ and ‘Level1’ to quit game. Hit Escape to exit the game.

Try Open Level (by Object Reference) and include the map for the package build in the project settings.

5.1 Open Level (by Name) node does not work in a packaged game. It brings back to the same level. Feedback & Requests

[image] Add the Map to be included here

5.1 Open Level (by Name) node does not work in a packaged game. It brings back to the same level. Feedback & Requests

After putting in Open Level (by Object Reference) and packaging it again. Both the open level (by name) and (by Object Reference) worked. I don’t know why?

Now I wonder if Open Level (by Name) should be deprecated and Open Level (by Object Reference) should be used?

11 posts - 10 participants