# my game can't get compiled with a cuda error

**URL:** <https://forums.unrealengine.com/t/my-game-cant-get-compiled-with-a-cuda-error/1329612>\
**Category:** International\
**Tags:** unreal-engine, compile-error\
**Created:** [October 11, 2023, 6:30pm UTC](https://forums.unrealengine.com/t/my-game-cant-get-compiled-with-a-cuda-error/1329612 "2023-10-11T18:30:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mirodys](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mirodys](https://forums.unrealengine.com/u/Mirodys)\
**Post date:** [October 11, 2023, 6:30pm UTC](https://forums.unrealengine.com/t/my-game-cant-get-compiled-with-a-cuda-error/1329612/1 "2023-10-11T18:30:39Z")

</div>

my game can’t get compiled with a cuda error

my config:  
i5 12450H  
rtx 4050  
16gb ram

here is the crash error :

UATHelper: Packaging (Windows): LogCUDA: Error: You have requested a CUDA context when the CUDA Driver API is not loaded.  
UATHelper: Packaging (Windows): LogWindows: Error: begin: stack for UAT  
UATHelper: Packaging (Windows): LogWindows: Error: === Critical error: ===  
UATHelper: Packaging (Windows): LogWindows: Error:  
UATHelper: Packaging (Windows): LogWindows: Error: Fatal error!  
UATHelper: Packaging (Windows): LogWindows: Error:  
UATHelper: Packaging (Windows): LogWindows: Error: Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION 0x0000000000000000  
UATHelper: Packaging (Windows): LogWindows: Error:  
UATHelper: Packaging (Windows): LogWindows: Error:  
UATHelper: Packaging (Windows): LogWindows: Error: end: stack for UAT  
UATHelper: Packaging (Windows): Took 205,75s to run UnrealEditor-Cmd.exe, ExitCode=3  
UATHelper: Packaging (Windows): Cook failed.  
UATHelper: Packaging (Windows): (see C:\Users\cleme\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_5.3\Log.txt for full exception trace)  
UATHelper: Packaging (Windows): AutomationTool executed for 0h 5m 5s  
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=25 (Error\_UnknownCookFailure)  
UATHelper: Packaging (Windows): BUILD FAILED  
PackagingResults: Error: Unknown Cook Failure

can someone help me please

---

<div class="post-metadata">

**Author:** ![YE7Zhao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YE7Zhao](https://forums.unrealengine.com/u/YE7Zhao)\
**Post date:** [October 30, 2023, 1:07pm UTC](https://forums.unrealengine.com/t/my-game-cant-get-compiled-with-a-cuda-error/1329612/2 "2023-10-30T13:07:07Z")

</div>

I also have the same problem. May I ask if you have resolved it? How did you solve it

---

<div class="post-metadata">

**Author:** ![SoloMode\_Studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SoloMode\_Studio](https://forums.unrealengine.com/u/SoloMode_Studio)\
**Post date:** [November 1, 2023, 6:35pm UTC](https://forums.unrealengine.com/t/my-game-cant-get-compiled-with-a-cuda-error/1329612/3 "2023-11-01T18:35:46Z")

</div>

Hey also having the same issue here

---

<div class="post-metadata">

**Author:** ![SoloMode\_Studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SoloMode\_Studio](https://forums.unrealengine.com/u/SoloMode_Studio)\
**Post date:** [November 2, 2023, 12:57am UTC](https://forums.unrealengine.com/t/my-game-cant-get-compiled-with-a-cuda-error/1329612/4 "2023-11-02T00:57:40Z")

</div>

Hey guys, update on this, CUDA is related to NVIDIA plugins, I was testing DLSS 3.5 (with no success at all), and forgot OptiX Plugin enabled. This was the cause of this in my case

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [April 14, 2024, 10:54pm UTC](https://forums.unrealengine.com/t/my-game-cant-get-compiled-with-a-cuda-error/1329612/5 "2024-04-14T22:54:18Z")

</div>

This fixed it for me as well. Thank you 🙂

---

<div class="post-metadata">

**Author:** ![Ram\_Gowtham](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ram\_Gowtham](https://forums.unrealengine.com/u/Ram_Gowtham)\
**Post date:** [May 1, 2024, 5:54pm UTC](https://forums.unrealengine.com/t/my-game-cant-get-compiled-with-a-cuda-error/1329612/6 "2024-05-01T17:54:53Z")

</div>

Hey, Thank you! It solved my problem, saved me & submitting assignment to a interview.
