From cedb239906bc1e58cd63c21581be2f19aab730cf Mon Sep 17 00:00:00 2001 From: Christophe Del Vecchio Date: Thu, 1 Oct 2026 15:04:01 +0200 Subject: [PATCH] fix: include title flow assets in packaged builds --- Config/DefaultGame.ini | 6 ++++++ Scripts/tests/test_title_screen.py | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/Config/DefaultGame.ini b/Config/DefaultGame.ini index 721ddfb..2ab31c3 100644 --- a/Config/DefaultGame.ini +++ b/Config/DefaultGame.ini @@ -10,3 +10,9 @@ CommonUI.FallbackToDesiredOnAutoRestoreFailure=1 [/Script/EngineSettings.GeneralProjectSettings] ProjectID=511FF0963C4F4B172E98DCA903217751 + +[/Script/UnrealEd.ProjectPackagingSettings] +bUseZenStore=False ++MapsToCook=(FilePath="/Game/Pogo/Maps/Lvl_TitleScreen") ++MapsToCook=(FilePath="/Game/ThirdPerson/Lvl_ThirdPerson") ++DirectoriesToAlwaysCook=(Path="/Game/Pogo/Audio") diff --git a/Scripts/tests/test_title_screen.py b/Scripts/tests/test_title_screen.py index 152a12e..5d298af 100644 --- a/Scripts/tests/test_title_screen.py +++ b/Scripts/tests/test_title_screen.py @@ -75,6 +75,22 @@ class TitleScreenSourceTests(unittest.TestCase): config, ) + def test_runtime_assets_are_explicitly_cooked(self): + config = read("Config/DefaultGame.ini") + self.assertIn( + '+MapsToCook=(FilePath="/Game/Pogo/Maps/Lvl_TitleScreen")', + config, + ) + self.assertIn( + '+MapsToCook=(FilePath="/Game/ThirdPerson/Lvl_ThirdPerson")', + config, + ) + self.assertIn( + '+DirectoriesToAlwaysCook=(Path="/Game/Pogo/Audio")', + config, + ) + self.assertIn("bUseZenStore=False", config) + def test_setup_script_creates_required_assets(self): setup = read("Scripts/setup_title_screen.py") self.assertIn('"/Game/Pogo/Audio/S_PogoTitleMusic"', setup)