I have:
- a single player game on UE 4.16, made on Windows 8.1;
- some maps;
- a default map to be run by editor and standalone game (main menu), which leads to other levels;
- everything working in PIE and while testing as a standalone app;
- crashes and errors after packaging;
- [dump files and logs][1].
The game shows only main menu and then either restarts instead of opening another level, or crashes. Logs show that
[2017.06.29-14.30.24:560][189]LogPackageName: SearchForPackageOnDisk took 0.095s, but failed to resolve L_00_Intro.umap.
What I’ve tried to solve this problem:
-
renaming maps 'cause they were all starting with
_underscore
and UE4.16 didn’t like such names; -
re-saving, building all the levels;
-
refreshing nodes in any blueprints working with level navigation;
-
adding levels to cook explicitly in project configs, like this (after that I began getting crashes):
[/Script/UnrealEd.ProjectPackagingSettings]
… lalala …
+MapsToCook=(FilePath="/Game/MyContent/Levels/L_00_MainMenu")
+MapsToCook=(FilePath="/Game/MyContent/Levels/L_00_Intro")
+MapsToCook=(FilePath="/Game/MyContent/Levels/L_01_Awakened")
+MapsToCook=(FilePath="/Game/MyContent/Levels/L_02_Testy")
My levels are organized like this:
And I load levels in main menu like this:
And the incoming data seems to be correct: