Open Level blueprint not working on mobile

Hi,

When I use the ‘Open Level’ blueprint in my game, everything works fine in the editor/emulator, but when I test it on any iOS device it always loads the default level instead of the level it has been told to.

I have seen a couple of posts about this but there has been no response. Do you have any suggestions of what the problem could be or if there are any workarounds? I am currently blocked by this and would appreciate any help.

Thanks.

Bumping this, I still can’t find a work around. I had a build that magically decided to work once (I thought I must have changed a setting that I couldn’t remember), but now it’s back to opening whatever’s listed as the default map.

I’m launching on an iPhone 4S using 4.2.1
All works fine in the editor and mobile preview. Would be nice to hear a ‘We’ve noted this bug and it’s being fixed’, but I haven’t read a single answer mentioning that or even a temporary fix on any of the older forum questions. Kind of makes mobile development impossible for multi-level games.

I found a work-around: try packaging the whole project and then putting the file on your phone through iTunes. It’s obviously longer than launching straight to the device but everything works as expected for me when I do it this way.

Hope it works for you too.

Thanks very much for this info! Interesting bug then… I’ll give it a try when I next have time to work on my project. Haven’t put a package on my phone using iTunes before, but I’m sure there’s a lot of info about that on the apple :slight_smile: Thanks again!

We are running into this issue as well on our project. Any update on this?

In order to report this as a bug, I’ll need some more information about the system you’re developing on. Please provide more information about your Mac’s specs. You can find this in the Apple menu >About This Mac>More Info> Add the information from this window (serial # not necessary). (-Or your dxdiag if you happen to be on a Windows machine.)

We also need the following information from the “System Report:” Apple menu >About This Mac>More Info> System Report>Hardware (All information listed in the “Hardware Overview.”) You can cut and paste this information or provide screen shots, whichever is more convenient.

Thanks,

We ran into this issue as well. It isn’t mentioned anywhere but you’re going to want to include all of your maps in the “DefaultEditor.ini” file. Add the following code into your DefaultEditor and you’ll be good to go

[AlwaysCookMaps]
+Map=/Game/Maps/Map_Name_01
+Map=/Game/Maps/Map_Name_02
+Map=/Game/Maps/Map_Name_03

This solved the issue for us on iOS and Android builds.

Thank you! That’s one less annoyance gone from my work flow :slight_smile:

there are so many defaulteditor.ini files, which one do I modify?

Have you tried adjusting the DefaultEditor.ini that’s in the Config folder?

Thank you man! It’s Work for me ))

As far as I know, when you deploy your game using the “launch” button, Unreal understand that you are going to test the currently opened level, so by default it doesn’t deploy other levels. If you want to test the transition between levels you have two options:

  1. File > Package Project > iOS and use the iPhonePackager (in my case, because I work on Windows) to deploy the *.ipa file in your device.
  2. Edit > Project Settings > Packaging. Inside this you have a section also called Packaging. Show advanced options and set “cook everything in the project content directory” option. If you only want to add a few levels, use the option “list of maps to include in a packaged build”
2 Likes

After upgraded to Unreal 5.1, this “Cook everything” option works for me. Thx!

1 Like