Startup map settings?
I'm setting my startup map to be a map I created called Terrain, like this in the "Project Settings":
When I package my game for OSX, the game crashes, and I get the following in the log:
[2014.03.21-14.51.46:372][ 0]LogLinker:Warning: Can't find file '/Engine/Maps/Entry' [2014.03.21-14.51.46:372][ 0]LogUObjectGlobals:Warning: Failed to load '/Engine/Maps/Entry': Can't find file '/Engine/Maps/Entry' [2014.03.21-14.51.46:372][ 0]LogMac:Error: appError called: Failed to enter /Engine/Maps/Entry: Failed to load package '/Engine/Maps/Entry'. Please check the log for errors. [2014.03.21-14.51.57:915][ 0]LogMac: === Critical error: ===
It would seem that the entry map was not packaged, I take it because it's not used. If i build with the entry map set in those fields, everything runs fine and I can then bring up the console and type Open Terrain.
In Saved/Config/CleanSourceConfigs/Engine.ini, I have the following:
[/Script/EngineSettings.GameMapsSettings] EditorStartupMap=/Engine/Maps/Templates/Template_Default GameDefaultMap=/Engine/Maps/Entry ServerDefaultMap=/Engine/Maps/Entry GlobalDefaultGameMode=/Script/Engine.GameMode GlobalDefaultServerGameMode=/Script/Engine.GameMode LocalMapOptions=
In Saved/Config/MacNoEditor/Engine.ini is empty.
I am expecting the game to launch with the map I have specified in the project settings.
The project settings will only write to your personal local run-time generated INI file, which means that those settings will only apply when running the project directly from your local folder. When you package your project, your local run-time settings will be ignored, and only the project's default settings will be used.
To make your personal settings the default for your project, please click the "Save as default" button. The DefaultEngine.ini file that is included in your packaged project should then have the desired startup maps.
I will make a usability pass on the Settings UI this week to make the distinction between personal settings and project default settings, as well as their relationship to project packaging more clear. Sorry for the confusion!
answered Mar 24 '14 at 05:22 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here