Hey, I’m a rookie developer currently working on my first game. As I was in the middle of my development process, I tried to package my game to get a demo set up, but I’ve been having trouble packaging it, with an error saying, “Package: Unknown Error.” I tried fixing as much as possible in the output log, but after a successful cook, it still doesn’t work. Can anyone help, please?
Hi there @Daun7less117
I’d be happy to take a look. Could you provide the crash log? (Unknown error can be a number of things. The log will help narrow it down) Thanks!
i am having the same issue as well
Thanks! Here’s the log of the messages, the warnings, and errors that appeared.
LogUObjectHash: Compacting FUObjectHashTables data took 1.23ms
LogTurnkeySupport: Project requires temp target (AchievementSystem plugin is enabled)
LogLauncherProfile: Unable to use promoted target - ../../../../../../Users/gabri/Documents/Personal Projects/Its Lurking Reboot/(ITR) Game Project/ItsLurkingFinal/Its_Lurking_Ch1/Binaries/Win64/UnrealGame-Win64-Shipping.target does not exist.
LogDerivedDataCache: C:/Users/gabri/AppData/Local/UnrealEngine/Common/DerivedDataCache: Maintenance finished in +00:00:00.000 and deleted 0 files with total size 0 MiB and 0 empty folders. Scanned 0 files in 1 folders with total size 0 MiB.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ““C:/Program Files/Epic Games/UE_5.4/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“C:/Users/gabri/Documents/Personal Projects/Its Lurking Reboot/(ITR) Game Project/ItsLurkingFinal/Its_Lurking_Ch1/Its_Lurking_Ch1.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=60173 -project=“C:/Users/gabri/Documents/Personal Projects/Its Lurking Reboot/(ITR) Game Project/ItsLurkingFinal/Its_Lurking_Ch1/Its_Lurking_Ch1.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook
-project=“C:/Users/gabri/Documents/Personal Projects/Its Lurking Reboot/(ITR) Game Project/ItsLurkingFinal/Its_Lurking_Ch1/Its_Lurking_Ch1.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=“C:/Users/gabri/Documents/Personal Projects/Its Lurking Reboot/(ITR) Game Project/ItsLurkingFinal/Its_Lurking_Ch1/Builds” -distribution -clientconfig=Shipping -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=“C:/Users/gabri/Documents/Personal Projects/Its Lurking Reboot/(ITR) Game Project/ItsLurkingFinal/Its_Lurking_Ch1/Its_Lurking_Ch1.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=60173 -project=“C:/Users/gabri/Documents/Personal Projects/Its Lurking Reboot/(ITR) Game Project/ItsLurkingFinal/Its_Lurking_Ch1/Its_Lurking_Ch1.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“C:/Users/gabri/Documents/Personal Projects/Its Lurking Reboot/(ITR)
Game Project/ItsLurkingFinal/Its_Lurking_Ch1/Its_Lurking_Ch1.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=“C:/Users/gabri/Documents/Personal Projects/Its Lurking Reboot/(ITR) Game Project/ItsLurkingFinal/Its_Lurking_Ch1/Builds” -distribution -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules…
UATHelper: Packaging (Windows): Total script module initialization time: 0.15 s.
UATHelper: Packaging (Windows): Using C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe
UATHelper: Packaging (Windows): Executing commands…
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.18362.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.26100.0, Allowed_AutoSdk=10.0.19041.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 C:\Users\gabri\Documents\Personal Projects\Its Lurking Reboot(ITR) Game Project\ItsLurkingFinal\Its_Lurking_Ch1\Its_Lurking_Ch1.uproject
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Its_Lurking_Ch1 Win64 Shipping -Project=“C:\Users\gabri\Documents\Personal Projects\Its Lurking Reboot(ITR) Game Project\ItsLurkingFinal\Its_Lurking_Ch1\Its_Lurking_Ch1.uproject” -Manifest=“C:\Users\gabri\Documents\Personal Projects\Its Lurking Reboot(ITR) Game Project\ItsLurkingFinal\Its_Lurking_Ch1\Intermediate\Build\Manifest.xml” -remoteini=“C:\Users\gabri\Do
cuments\Personal Projects\Its Lurking Reboot(ITR) Game Project\ItsLurkingFinal\Its_Lurking_Ch1” -skipdeploy -distribution -log=“C:\Users\gabri\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-Its_Lurking_Ch1-Win64-Shipping.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\gabri\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-Its_Lurking_Ch1-Win64-Shipping.txt
UATHelper: Packaging (Windows): Creating makefile for Its_Lurking_Ch1 (manifest ‘C:\Users\gabri\Documents\Personal Projects\Its Lurking Reboot(ITR) Game Project\ItsLurkingFinal\Its_Lurking_Ch1\Intermediate\Build\Manifest.xml’ not found)
UATHelper: Packaging (Windows): No Visual C++ installation was found. Please download and install Visual Studio 2022 with C++ components.
UATHelper: Packaging (Windows): Total execution time: 0.87 seconds
UATHelper: Packaging (Windows): Visual Studio 2022 x64 must be installed in order to build this target.
UATHelper: Packaging (Windows): Took 1.02s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\gabri\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-Its_Lurking_Ch1-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 3s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error
LogHttp: Warning: 00000647116A5400: request failed, libcurl error: 35 (SSL connect error)
LogHttp: Warning: 00000647116A5400: libcurl info message cache 0 (Hostname in DNS cache was stale, zapped)
LogHttp: Warning: 00000647116A5400: libcurl info message cache 1 ( Trying 54.83.247.245:443…)
LogHttp: Warning: 00000647116A5400: libcurl info message cache 2 (Connected to datarouter.ol.epicgames.com (54.83.247.245) port 443)
LogHttp: Warning: 00000647116A5400: libcurl info message cache 3 (ALPN: curl offers http/1.1)
LogHttp: Warning: 00000647116A5400: libcurl info message cache 4 (TLSv1.3 (OUT), TLS handshake, Client hello (1)
LogHttp: Warning: 00000647116A5400: libcurl info message cache 5 (Recv failure: Connection was reset)
LogHttp: Warning: 00000647116A5400: libcurl info message cache 6 (OpenSSL SSL_connect: Connection was reset in connection to datarouter.ol.epicgames.com:443 )
LogHttp: Warning: 00000647116A5400: libcurl info message cache 7 (Closing connection)
LogHttp: Warning: 00000647116A5400: libcurl info message cache 8 (Recv failure: Connection was reset)
LogHttp: Warning: 00000647116A5400: libcurl info message cache 9 (Recv failure: Connection was reset)
LogHttp: Warning: Retry exhausted on https://datarouter.ol.epicgames.com/datarouter/api/v1/public/data?SessionID={D5B1C513-4855-164A-BBD8-14A77C89623C}&AppID=UEEditor.Rocket.Release&AppVersion=5.4.4-35576357%2B%2B%2BUE5%2BRelease-5.4&UserID=4e3a0d8e460ec39254575cbaf9831a4b|d6c8da2d527e4a42aad1b24beb94ca85|248d126a-0a4f-46a7-a33e-c7b4aadc3cbf&AppEnvironment=datacollector-binary&UploadType=eteventstream
No Visual C++ installation was found. Please download and install Visual Studio 2022 with C++ components.
Visual Studio 2022 x64 must be installed in order to build this target.
have you installed visual studio? if yes then you might want to reinstall it.
I see. I just want to make sure I understand everything before I proceed. I am not that good at programming. I stick with only blueprints because I understand it better and it’s visual for me. Can someone give me a quick explanation on how I could install Visual Studio for my project? I don’t want to attempt coding anything in C++ (because I don’t know how) and I want to make sure I don’t break my project.
Ok I understand, you don’t need to code anything Unreal needs Visual Studio for building your project, installing it isn’t gonna break your project. I recommend following the guide above but if it’s not possible try visiting youtube there are many great tutorials there for this.
Thank you for the clarification.
Awesome! Thank you for the info!