I cant build my game

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

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

Error: Could not clear asyncdelete root directory
LastError == 5.

and (while this isn’t obvious):

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!