# I cant build my game

**URL:** <https://forums.unrealengine.com/t/i-cant-build-my-game/2672140>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, package-error, question\
**Created:** [November 5, 2025, 11:59pm UTC](https://forums.unrealengine.com/t/i-cant-build-my-game/2672140 "2025-11-05T23:59:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spongebob78](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spongebob78](https://forums.unrealengine.com/u/Spongebob78)\
**Post date:** [November 5, 2025, 11:59pm UTC](https://forums.unrealengine.com/t/i-cant-build-my-game/2672140/1 "2025-11-05T23:59:27Z")

</div>

Can anyone help me? Please!

ATHelper: Packaging (Windows (64-bit)): LogInit: Display:  
UATHelper: Packaging (Windows (64-bit)): LogInit: Display: Warning/Error Summary (Unique only)  
UATHelper: Packaging (Windows (64-bit)): LogInit: Display: -----------------------------------  
UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogCook: Error: Could not clear asyncdelete root directory ‘C:/Users/kingj/OneDrive/Documentos/Unreal Projects/DefenseHome/Saved/Cooked/WindowsNoEditor\_Del’. LastError: 5.  
UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogCook: Warning: Failed to setup an async delete, falling back to synchronous delete.  
UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogCook: Warning: Failed to asyncdelete directory ‘C:/Users/kingj/OneDrive/Documentos/Unreal Projects/DefenseHome/Saved/Cooked/WindowsNoEditor’. LastError == 5.  
UATHelper: Packaging (Windows (64-bit)): LogInit: Display:  
UATHelper: Packaging (Windows (64-bit)): LogInit: Display: Failure - 1 error(s), 2 warning(s)  
UATHelper: Packaging (Windows (64-bit)): LogInit: Display:  
UATHelper: Packaging (Windows (64-bit)):  
UATHelper: Packaging (Windows (64-bit)): Execution of commandlet took: 13.02 seconds  
UATHelper: Packaging (Windows (64-bit)): LogHttp: Display: cleaning up 0 outstanding Http requests.  
UATHelper: Packaging (Windows (64-bit)): LogContentStreaming: Display: There are 1 unreleased StreamingManagers  
UATHelper: Packaging (Windows (64-bit)): Took 29.4351312s to run UE4Editor-Cmd.exe, ExitCode=1  
UATHelper: Packaging (Windows (64-bit)): ERROR: Cook failed.  
UATHelper: Packaging (Windows (64-bit)): (see C:\Users\kingj\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_4.26\Log.txt for full exception trace)  
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=25 (Error\_UnknownCookFailure)  
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED  
PackagingResults: Error: Unknown Cook Failure

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [November 6, 2025, 8:19am UTC](https://forums.unrealengine.com/t/i-cant-build-my-game/2672140/2 "2025-11-06T08:19:54Z")

</div>

Hey there @Spongebob78! Welcome back to the community! When reading your error logs here, there’s a couple things that stood out.

```auto
Error: Could not clear asyncdelete root directory

```

```auto
LastError == 5.

```

and (while this isn’t obvious):

```auto
OneDrive

```

The errors indicate that the engine is unable to delete the temp files referenced there. This is often an access or read/write issue. Usually I would recommend checking your antivirus and the read/write permissions of where the project is located. However in this case, I think I can guess what’s causing this.

Onedrive in general can cause issues with Unreal due to the way it syncs files. If possible, I’d recommend moving the project out of a OneDrive handled file location or disable OneDrive and try to generate a clean build elsewhere. Let me know how that goes!
