So I developed my game on my MAC UE5 1.1.1 and packaged it fine for mac. Then I transferred it to my PC via flash drive and got everything to look great on the editor but when I try to package for Windows it goes for about 45 seconds and then I get “Package Failed”
I have tried so many solutions does anyone know why this is happening?
here is my entire output log:
LogUObjectHash: Compacting FUObjectHashTables data took 1.16ms
LogTurnkeySupport: Project requires temp target (WebBrowserWidget plugin is enabled)
LogLauncherProfile: Unable to use promoted target - …/…/…/…/Binaries/Win64/UnrealGame-Win64-Shipping.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ““D:/UE_5.1/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“D:/HorrorEngine.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=50362 -project=“D:/HorrorEngine.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“D:/HorrorEngine.uproject” -unrealexe=“D:\UE_5.1\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -SkipCookingEditorContent -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=“C:/User
s/Braden/Desktop/WindowsPackaged” -distribution -CrashReporter -nodebuginfo” -nocompile -nocompileuat ]
UATHelper: Packaging (Windows): Running AutomationTool…
UATHelper: Packaging (Windows): Using bundled DotNet SDK version: 6.0.302
UATHelper: Packaging (Windows): Starting AutomationTool…
UATHelper: Packaging (Windows): Parsing command line: -ScriptsForProject=D:/HorrorEngine.uproject Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=50362 -project=D:/HorrorEngine.uproject BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=D:/HorrorEngine.uproject -unrealexe=D:\UE_5.1\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -platform=Win64 -SkipCookingEditorContent -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=C:/Users/Braden/Desktop/WindowsPackaged -distribution -CrashReporter -no
debuginfo -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules…
UATHelper: Packaging (Windows): Total script module initialization time: 0.75 s.
UATHelper: Packaging (Windows): Executing commands…
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.00000.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.22621.0, Allowed_AutoSdk=10.0.18362.0, Current_AutoSdk=, Flags=“InstalledSdk_ValidVersionExists”)
UATHelper: Packaging (Windows): Scanning for envvar changes…
UATHelper: Packaging (Windows): … done!
UATHelper: Packaging (Windows): Cleaning Temp Paths…
UATHelper: Packaging (Windows): BUILD SUCCESSFUL
UATHelper: Packaging (Windows): Setting up ProjectParams for D:\HorrorEngine.uproject
UATHelper: Packaging (Windows): HorrorEngine.uproject requires a temporary target.cs to be generated (WebBrowserWidget plugin is enabled)
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: D:\UE_5.1\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “D:\UE_5.1\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” UnrealGame Win64 Development -Project=D:\HorrorEngine.uproject D:\HorrorEngine.uproject -NoUBTMakefiles -remoteini="D:" -skipdeploy -distribution -Manifest=D:\Intermediate\Build\Manifest.xml -NoHotReload -log=“C:\Users\Braden\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE_5.1\UBT-UnrealGame-Win64-Development.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\Braden\AppData\Local\UnrealBuildTool\Log.txt
UATHelper: Packaging (Windows): Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
UATHelper: Packaging (Windows): at EpicGames.Core.FileSystemReference.CombineStrings(DirectoryReference baseDirectory, String fragments) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\FileSystemReference.cs:line 49
UATHelper: Packaging (Windows): at UnrealBuildTool.SourceFileWorkingSet.TryCreateGitWorkingSet(DirectoryReference RootDir, IEnumerable1 ProjectDirs, ILogger Logger, GitSourceFileWorkingSet& OutWorkingSet) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\SourceFileWorkingSet.cs:line 378 UATHelper: Packaging (Windows): at UnrealBuildTool.SourceFileWorkingSet.Create(DirectoryReference RootDir, IEnumerable
1 ProjectDirs, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\SourceFileWorkingSet.cs:line 350
UATHelper: Packaging (Windows): at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 240
UATHelper: Packaging (Windows): at UnrealBuildTool.UnrealBuildTool.Main(String ArgumentsArray) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 648
UATHelper: Packaging (Windows): Took 2.734076s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\Braden\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE_5.1\UBT-UnrealGame-Win64-Development.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 10s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error