From e6b48ca84c4f605995c4fd7fcd4af3dd30054a58 Mon Sep 17 00:00:00 2001 From: Michael Delva Date: Sun, 22 Mar 2026 21:31:22 +0100 Subject: [PATCH 1/2] Default value for pre_tasks of the unreal feature --- src/generator/features/unreal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator/features/unreal.py b/src/generator/features/unreal.py index eff59f9..233d4d9 100644 --- a/src/generator/features/unreal.py +++ b/src/generator/features/unreal.py @@ -62,7 +62,7 @@ class UnrealBuildGraphConfig(BaseModel): description="Properties to pass to build graph. These are passed as -set:PropertyName=PropertyValue arguments.", ) pre_tasks: Optional[List[str]] = Field( - default=None, + default=[], description="List of tasks to run before the buildgraph tasks.", ) From 3d34f2f1c3af1bc3ba2af53c8ba697afa9edcc36 Mon Sep 17 00:00:00 2001 From: Michael Delva Date: Sun, 22 Mar 2026 21:32:06 +0100 Subject: [PATCH 2/2] Added towncrier change file --- .changelog/35.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 .changelog/35.fixed.md diff --git a/.changelog/35.fixed.md b/.changelog/35.fixed.md new file mode 100644 index 0000000..0ad8fa0 --- /dev/null +++ b/.changelog/35.fixed.md @@ -0,0 +1 @@ +Fixed crash inside the unreal feature when pre_tasks is not set