Open Level not working on mobile launch
Hey, I am using Unreal Engine 4 with a custom gamemode instance of a c++ gamemode class, wich calls to GameState c++ class, to open a specific level. This Function - However if i build on android and try to travel to the next level it loads my current level again and my player character spawns at the player start. When i start in the editor everything works fine. Here is another post with maybe the same problem. In my GameState Constructor i print a message to the screen. But if i start the game (level) it prints 2 lines. Is it possible that i need another function to load the next level on mobile?
The reason is because when you launch the game it only cooks the default map. You can try adding the map to the Additional Asset Directories to Cook section of Edit->Project Settings->Packaging, or just test by packaging the game in order to prevent this from happening.
Have a great day
answered Oct 03 '16 at 06:45 PM
Sean L ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here