I’m setting my startup map to be a map I created called Terrain, like this in “Project Settings”:
When I package my game for OSX, game crashes, and I get following in 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 log for errors.
[2014.03.21-14.51.57:915][ 0]LogMac: === Critical error: ===
It would seem that entry map was not packaged, I take it because it’s not used. If i build with entry map set in those fields, everything runs fine and I can then bring up console and type Open Terrain.
In Saved/Config/CleanSourceConfigs/Engine.ini, I have following:
In Saved/Config/MacNoEditor/Engine.ini is empty.
I am expecting game to launch with map I have specified in project settings.
Anyone? Is this expected behaviour?
project settings will only write to your personal local run-time generated INI file, which means that those settings will only apply when running project directly from your local folder. When you package your project, your local run-time settings will be ignored, and only project’s default settings will be used.
To make your personal settings default for your project, please click “Save as default” button. DefaultEngine.ini file that is included in your packaged project should then have desired startup maps.
I will make a usability pass on Settings UI this week to make distinction between personal settings and project default settings, as well as their relationship to project packaging more clear. Sorry for confusion!
For clarification, because this may be of general interest: Unreal Engine uses a so called INI stack, which is a collection of configuration files that will be applied one after another in order to generate final settings. A stack for system XXX (where XXX can be ‘Engine’, ‘Editor’ and other things) typically includes:
- BaseXXX.ini (applies to all projects)
- DefaultXXX.ini (default settings for your project)
- XXX.ini (local run-time generated settings)
XXX.ini will be ignored when packaging, because these are your personal settings for testing/experimenting on your local PC.
Aha!!! Thank you so much for explanation! It’s juat not intuitive at moment, that’s all. Thank you for working on this kind of stuff.
Hi! where I can find “Save as default” button. I have 4.9.1 version. Thanks!
For Editor Preferences, it’s here:
Project Settings update appropriate .ini file instantly.