Packaging failed UE4

I packaged my game. After about 15 minutes, it failed for some reason. Help!

UATHelper: Packaging (Windows (64-bit)): Unhandled Exception: System.IO.IOException: There is not enough space on the disk.
UATHelper: Packaging (Windows (64-bit)):    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
UATHelper: Packaging (Windows (64-bit)):    at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
UATHelper: Packaging (Windows (64-bit)):    at System.IO.FileStream.FlushInternalBuffer()
UATHelper: Packaging (Windows (64-bit)):    at System.IO.FileStream.Flush(Boolean flushToDisk)
UATHelper: Packaging (Windows (64-bit)):    at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
UATHelper: Packaging (Windows (64-bit)):    at System.Diagnostics.TextWriterTraceListener.Flush()
UATHelper: Packaging (Windows (64-bit)):    at Tools.DotNETCommon.Log.WriteLinePrivate(Int32 StackFramesToSkip, Boolean bWriteOnce, LogEventType Verbosity, LogFormatOptions FormatOptions, String Format, Object[] Args) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\DotNETCommon\DotNETUtilities\Log.cs:line 424
UATHelper: Packaging (Windows (64-bit)):    at Tools.DotNETCommon.Log.WriteLine(Int32 StackFramesToSkip, LogEventType Verbosity, String Format, Object[] Args) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\DotNETCommon\DotNETUtilities\Log.cs:line 511
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.ProcessResult.LogOutput(LogEventType Verbosity, String Message) in D:\Build\++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 288
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.ProcessResult.StdOut(Object sender, DataReceivedEventArgs e) in D:\Build\++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 324
UATHelper: Packaging (Windows (64-bit)):    at System.Diagnostics.Process.OutputReadNotifyUser(String data)
UATHelper: Packaging (Windows (64-bit)):    at System.Diagnostics.AsyncStreamReader.FlushMessageQueue()
UATHelper: Packaging (Windows (64-bit)):    at System.Diagnostics.AsyncStreamReader.GetLinesFromStringBuilder()
UATHelper: Packaging (Windows (64-bit)):    at System.Diagnostics.AsyncStreamReader.ReadBuffer(IAsyncResult ar)
UATHelper: Packaging (Windows (64-bit)):    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
UATHelper: Packaging (Windows (64-bit)):    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
UATHelper: Packaging (Windows (64-bit)):    at System.IO.Stream.ReadWriteTask.System.Threading.Tasks.ITaskCompletionAction.Invoke(Task completingTask)
UATHelper: Packaging (Windows (64-bit)):    at System.Threading.Tasks.Task.FinishContinuations()
UATHelper: Packaging (Windows (64-bit)):    at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
UATHelper: Packaging (Windows (64-bit)):    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
UATHelper: Packaging (Windows (64-bit)):    at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
UATHelper: Packaging (Windows (64-bit)):    at System.Threading.ThreadPoolWorkQueue.Dispatch()
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error
LogAudioMixer: Display: Audio Buffer Underrun (starvation) detected.
LogDirectoryWatcher: Display: A directory notification failed for 'D:/UE4Projects/AgencyOfFear_Demo/Saved/Collections/' because it could not be accessed. Aborting watch request...

The first exception in the list looks like your problem

It’s probably running out of space while packaging.

How much free space is on your disk, and how big is the game project folder?

Greetings @renexthegod

Welcome to the Unreal Engine Community Forum! As sonic mentioned, the first error popping up there is showing it lacks enough space on the disk. I’d check your storage and compare you project size etc. That appears to be the problem. I hope that helps!