# Error: A FRenderResource was deleted without being released first!

**URL:** <https://forums.unrealengine.com/t/error-a-frenderresource-was-deleted-without-being-released-first/466591>\
**Category:** Platform & Builds\
**Tags:** package, automationtool, unreal-engine, question, CPP\
**Created:** [June 11, 2020, 8:18pm UTC](https://forums.unrealengine.com/t/error-a-frenderresource-was-deleted-without-being-released-first/466591 "2020-06-11T20:18:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eXiT\_Incredible](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eXiT\_Incredible](https://forums.unrealengine.com/u/eXiT_Incredible)\
**Post date:** [June 11, 2020, 8:18pm UTC](https://forums.unrealengine.com/t/error-a-frenderresource-was-deleted-without-being-released-first/466591/1 "2020-06-11T20:18:45Z")

</div>

Hello,

I have created a game using the FirstPerson Demo content. I’ve added a lot of stuff including models, blueprints and c++ code. When I try to export the game, I get the error below. But I don’t use resources in my c++ code. So how can I detect where the error came from?

Build on Win10, x64, UE 4.25, VS 2019

```
   LogInit: Display:
   LogInit: Display: Success - 0 error(s), 4 warning(s)
   LogInit: Display:
   
   Execution of commandlet took: 13.45 seconds
   LogOutputDevice: Warning:
   
   Script Stack (0 frames):
   
   LogWindows: Error: begin: stack for UAT
   LogWindows: Error: === Critical error: ===
   LogWindows: Error:
   LogWindows: Error: Fatal error: [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/RenderCore/Private/RenderResource.cpp] [Line: 149]
   LogWindows: Error: A FRenderResource was deleted without being released first!
   LogWindows: Error:
   LogWindows: Error:
   LogWindows: Error: [Callstack] 0x00007ffc2723a799 KERNELBASE.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbdece0b06 UE4Editor-Core.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbdece3ee8 UE4Editor-Core.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbdea70c0d UE4Editor-Core.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffc0e00f306 UE4Editor-RenderCore.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbdcab0bb2 UE4Editor-Engine.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbdcab15f7 UE4Editor-Engine.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbdcab8f45 UE4Editor-Engine.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbdcab1801 UE4Editor-Engine.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbdcab1dc6 UE4Editor-Engine.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbdcabdcb4 UE4Editor-Engine.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbe4e090fa UE4Editor-CoreUObject.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbe4dc7cfa UE4Editor-CoreUObject.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbe4dc83b0 UE4Editor-CoreUObject.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbe4e656bf UE4Editor-CoreUObject.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffbe4c90667 UE4Editor-CoreUObject.dll!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ff643474eed UE4Editor-Win64-DebugGame-Cmd.exe!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ff64347482d UE4Editor-Win64-DebugGame-Cmd.exe!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ff64347aeb5 UE4Editor-Win64-DebugGame-Cmd.exe!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ff64347bb07 UE4Editor-Win64-DebugGame-Cmd.exe!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ff64347bb5a UE4Editor-Win64-DebugGame-Cmd.exe!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ff64348e32d UE4Editor-Win64-DebugGame-Cmd.exe!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ff643490426 UE4Editor-Win64-DebugGame-Cmd.exe!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffc28f27bd4 KERNEL32.DLL!UnknownFunction []
   LogWindows: Error: [Callstack] 0x00007ffc2992ce51 ntdll.dll!UnknownFunction []
   LogWindows: Error:
   LogWindows: Error: end: stack for UAT
 Took 30,272278s to run UE4Editor-Win64-DebugGame-Cmd.exe, ExitCode=3
 ERROR: Cook failed.
        (see C:\Users\user\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.25\Log.txt for full exception trace)
 AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
 BUILD FAILED
```

---

<div class="post-metadata">

**Author:** ![Crtor34](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Crtor34](https://forums.unrealengine.com/u/Crtor34)\
**Post date:** [September 30, 2023, 1:14pm UTC](https://forums.unrealengine.com/t/error-a-frenderresource-was-deleted-without-being-released-first/466591/2 "2023-09-30T13:14:16Z")

</div>

ever got this figured out.? well, if u didn’t then just look at the call stacks and fix them.
