Hi,
First time here, just start learning unreal engine.
After I create a new landscape and test to package the project.
(Very early stage. barely have blueprints, no code and I can package the game before this step)
I got these errors
I know I can start over to avoid these.
But I am very curious about how to solve and try to fix these errors.
I cannot find a way to solve these online or on chatgpt
and I’ve deleted the cache saved and intermediate folder.
Could anyone help me?
Thank you very much.
Environment: MacOS 13.4.1.
Unreal version: 5.2.1
(log filter by error)
LogTurnkeySupport: Turnkey Platform: Android: (Status=Invalid, Allowed_Sdk=r25b, Current_Sdk=, Allowed_AutoSdk=r25b, Current_AutoSdk=, Flags=“Platform_InvalidHostPrerequisites”, Error=“Android Studio is not installed correctly.”)
LogAutomationTest: Error: VectorRound32-FloatMax: The two values are not equal.
LogAudioMixerAudioUnit: Warning: Error querying Sample Rate: 2003332927
LogPackFactory: Finished extracting 8 files (including 0 errors).
MapCheck: Map check complete: 0 Error(s), 0 Warning(s), took 0.37ms to complete.
UATHelper: Packaging (Mac): Errors generated while parsing ‘/Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs’
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(3,14): error CS1001: Identifier expected
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(3,14): error CS1514: { expected
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(3,14): error CS1513: } expected
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(3,14): error CS8803: Top-level statements must precede namespace and type declarations.
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(3,17): error CS1002: ; expected
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(3,47): error CS1002: ; expected
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(4,2): error CS1513: } expected
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(5,2): error CS0116: A namespace cannot directly contain members such as fields or methods
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(5,12): error CS1002: ; expected
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(5,40): error CS1003: Syntax error, ‘,’ expected
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(5,48): error CS1002: ; expected
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(5,48): error CS1022: Type or namespace definition, or end-of-file expected
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(5,62): error CS1002: ; expected
UATHelper: Packaging (Mac): /Users/danielalepherion/Unreal Projects/01Maester_Landscape/Intermediate/Source/01MaesterLand.Target.cs(11,1): error CS1022: Type or namespace definition, or end-of-file expected
UATHelper: Packaging (Mac): ERROR: System.NullReferenceException: Object reference not set to an instance of an object.
PackagingResults: Error: System.NullReferenceException: Object reference not set to an instance of an object.
Prebuilt, Nullable1 RunTimeoutSeconds, String SpecifiedArchitecture, String ServerArchitecture, String EditorArchitecture, String ClientArchitecture, String ProgramArchitecture, String UbtArgs, String AdditionalPackageOptions, Nullable
1 IterativeDeploy, Nullable1 FastCook, Nullable
1 IgnoreCookErrors, Nullable1 CodeSign, Nullable
1 TreatNonShippingBinariesAsDebugFiles, Nullable1 UseExtraFlavor, String Provision, String Certificate, String Team, Boolean AutomaticSigning, String Trace, String TraceHost, String TraceFile, String SessionLabel, ParamList
1 InMapsToRebuildLightMaps, ParamList`
UATHelper: Packaging (Mac): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Mac): RunUAT ERROR: AutomationTool was unable to run successfully. Exited with code: 1
PackagingResults: Error: AutomationTool was unable to run successfully. Exited with code: 1
PackagingResults: Error: Unknown Error