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 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.", )