fix: include title flow assets in packaged builds
This commit is contained in:
1 parent
d34c1f6bb5
commit
cedb239906
2 files changed
+22
No files matched your search
@@ -10,3 +10,9 @@ CommonUI.FallbackToDesiredOnAutoRestoreFailure=1
|
|||||||
|
|
||||||
[/Script/EngineSettings.GeneralProjectSettings]
|
[/Script/EngineSettings.GeneralProjectSettings]
|
||||||
ProjectID=511FF0963C4F4B172E98DCA903217751
|
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")
|
||||||
@@ -75,6 +75,22 @@ class TitleScreenSourceTests(unittest.TestCase):
|
|||||||
config,
|
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):
|
def test_setup_script_creates_required_assets(self):
|
||||||
setup = read("Scripts/setup_title_screen.py")
|
setup = read("Scripts/setup_title_screen.py")
|
||||||
self.assertIn('"/Game/Pogo/Audio/S_PogoTitleMusic"', setup)
|
self.assertIn('"/Game/Pogo/Audio/S_PogoTitleMusic"', setup)
|
||||||
|
|||||||
Reference in new issue
Block a user