Error: VectorRound32-FloatMax and Error: System.NullReferenceException

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, Nullable1 IterativeDeploy, Nullable1 FastCook, Nullable1 IgnoreCookErrors, Nullable1 CodeSign, Nullable1 TreatNonShippingBinariesAsDebugFiles, Nullable1 UseExtraFlavor, String Provision, String Certificate, String Team, Boolean AutomaticSigning, String Trace, String TraceHost, String TraceFile, String SessionLabel, ParamList1 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

I’m getting the same error. Any luck figuring this out or what it could be related to?

I tried an empty map, and it gives the same error, so it seems to be related to a BP or C++ code.

Hi ! Did you figured it out ? I got the same issue while packaging for VR, and none else got this problem

Apologies for the delay, I missed the notification for this. Unfortunately not, after upgrading to 5.3.2, still see the issue.

Did anyone manage to get this fixed? also on mac.

This error seems to have disappeared, but I actually haven’t changed much. The project that was having issues is on hold but I recently compiled it lookup some information that I wanted to migrate and noticed I don’t get the error appearing.

I wish I was of more help. The only change I can think of recently was installing UE 5.4, however, that particular project is not utilizing it (still on 5.3.2).