Game keeps crashing after hotfix

Issue Description (Required):

GUID: 8df4a831-c780-4a6a-83f4-6300ed325298
Log File:
Info Type:

[Engine Error]: Not enough memory reserved for heap ‘lua_heap’, reserved: 1073741824, required: 1073807360, size: 65536

Assertion failed size + commited <= heap->_reserved at D:\a\d\rel_engine_darktide\release\2025_04_29_Patch1.8.x\runtime\foundation\memory\heap_allocator.cpp:209 in function stingray::HeapAllocator::add_area_cb
<>
<>startup = false<>
<>shutdown = false<>
<>editor = false<>
<>direct_storage = true<>
<>
{00007ff715a30000, 0247d000, 6863d599, 6e84ae69-8ab6-437d-ab01-ae30081734f5, 00000001, D:\a\w\live_engine_darktide\release\2025_04_29_Patch1.8.x\engine\win64\release\Darktide.pdb}

0x00007ff715a30000:0x000000000066ba60 swprintf
0x00007ff715a30000:0x000000000066ad8c swprintf
0x00007ff715a30000:0x00000000006bbea1 swprintf_s
0x00007ff715a30000:0x00000000006d15b1 _vsnprintf
0x00007ff715a30000:0x00000000006bbc05 swprintf_s
0x00007ff715a30000:0x00000000002e12bb snprintf
0x00007ff715a30000:0x0000000000b20164 _snscanf_s
0x00007ff715a30000:0x0000000000b1fde4 _snscanf_s
0x00007ff715a30000:0x0000000000b20b63 _snscanf_s
0x00007ff715a30000:0x0000000000005c82
0x00007ff715a30000:0x0000000000390b7a snprintf
0x00007ff715a30000:0x00000000000065ae
0x00007ff715a30000:0x0000000000b0eca3 _snscanf_s
0x00007ff715a30000:0x00000000002e57d7 snprintf
0x00007ff715a30000:0x00000000002e6b8c snprintf
0x00007ff715a30000:0x00000000006d3bf1 _vsnprintf
0x00007ff715a30000:0x000000000024dda3 vsnprintf
0x00007ff715a30000:0x000000000024d6c0 vsnprintf
0x00007ff715a30000:0x0000000000239096 printf
0x00007ff715a30000:0x0000000000239a09 printf
<>
<>Mod:CollectibleFinder = true<>
<>project_branch = rel_Patch1.8.x_external<>
<>mission = hub_ship<>
<>GPU Driver = 57640<>
<>steam_id = 1100001156aa30f<>
<>Mod:Decode_Helper = true<>
<>Mod:DogWhistle = true<>
<>instance_id = aws-asg–aws-us-west-2–empty-violet-roadrunner–i-0f82815218ace488f–server-7–1751992925<>
<>engine_revision = de483f3bf6bd902101ea3b14167f9b55b1348afb<>
<>circumstance = default<>
<>realm = modded<>
<>GPU = NVIDIA GeForce RTX 4070<>
<>content_revision = 111563<>
<>platform = win32<>
<>build = release<>
<>mission_id = 8fced534-97e8-4553-9a2d-4bb646a1c97d<>
<>steam_app_id = 1361210<>
<>project = darktide<>
<>is_modded = true<>
<>Mod:Tree_Helper = true<>
<>teamcity_build_id = 558064<>
<>auth_platform = steam<>
<>session_id = aws-asg–aws-us-west-2–empty-violet-roadrunner–i-0f82815218ace488f–server-7–1751992925<>
<>steam_user_name = Austrian Death Machine<>
<>server = false<>
<>Mod:true_level = true<>
<>game_version = 1.8.0-b558064<>
<>num_missions_started = 27<>
<>Mod:dmf = true<>
<>game_resume_count = 0<>
<>game_session_id = 83afb09d-51b6-429d-bf66-3e54d1467013<>
<>rendering_backend = dx12<>
<>Mod:Healthbars = true<>
<>launcher_verification_passed = false<>
<>steam = true<>
<>machine_id = d7a5f0d8-8a40-4ad8-ac86-d851373ee673<>
<>modded = true<>
<>backend_env = prod<>
<>account_id = 609057ac-afb0-47fd-a6b9-1a804f33f70e<>
<>masterdata_version = 111563<>
<>1<</Crash version>>
<>memory<</Crash type>>
<>main<</Thread name>>
<>win32<>
<>de483f3bf6bd902101ea3b14167f9b55b1348afb<</Build identifier>>
<>release<</Build type>>
<>556255<</Engine build id>>
<>Developer Build (1.3.8.31975)<</Product version>>
<>8df4a831-c780-4a6a-83f4-6300ed325298<>
<>0<>
<>— CPU
CPU: AMD Ryzen 9 3950X 16-Core Processor
Vendor: AuthenticAMD
Logical processors: 32
Family: 8:15, Model: 7:1
Type: 0, Stepping: 0
Features: SSE SSE2 SSE3 SSSE3 SSE4.1
Feature bits:
EBX: 00010110 00100000 00001000 00000000
ECX: 01111110 11111000 00110010 00001011
EDX: 00010111 10001011 11111011 11111111
— Memory
Physical Total: 65453MB
Available: 49560MB
— OS
Windows version 10.0 build 26100, 64 bit
Windows 11
Machine ID d7a5f0d8-8a40-4ad8-ac86-d851373ee673
— Graphics
Graphics card: NVIDIA GeForce RTX 4070 (DirectX 12.1, 12011MB) Driver version: 57640 Hardware Accelerated GPU scheduler: false
Graphics card: Microsoft Basic Render Driver (DirectX 12.1, 0MB) Driver version: 10.0.26100.1150 Hardware Accelerated GPU scheduler: false
— Desktops
Monitor 0 (3440x1440): left=0 top=0 right=3440 bottom=1440
— Network
Network interface: Killer E3000 2.5 Gigabit Ethernet Controller #2 (IPv4, IPv6)
Network interface: Killer E2600 Gigabit Ethernet Controller #2 (IPv4, IPv6)
Network interface: Killer(R) Wi-Fi 6 AX1650x 160MHz Wireless Network Adapter (200NGW) (IPv4, IPv6)
Network interface: Microsoft Wi-Fi Direct Virtual Adapter (IPv4, IPv6)
Network interface: Microsoft Wi-Fi Direct Virtual Adapter #2 (IPv4, IPv6)
Network interface: Bluetooth Device (Personal Area Network) #2 (IPv4, IPv6)
— Input
No input devices detected.
— Volume
Volume for path ‘../bundle’ is on SSD

full volume information
name: C:\
filesystem: NTFS
drives: 1
	1. drive type: SSD, bus type: NVME

<</System Information>>
<>SSD<</Volume Information>>
<>enabled<</Direct Storage>>
<>C:\Users\mehoy\AppData\Roaming\Fatshark\Darktide\console_logs\console-2025-07-08-16.41.56-8df4a831-c780-4a6a-83f4-6300ed325298.log<</Console Log>>
<>C:\Users\mehoy\AppData\Roaming\Fatshark\Darktide\crash_dumps\crash_dump-2025-07-08-16.41.56-8df4a831-c780-4a6a-83f4-6300ed325298.dmp<</Crash Dump>>
<>
Memory
Total: 65453 MB
Available: 57682 MB
Used: 7771 MB
Peak Used: 8790 MB
Debug Memory
Total: 0 MB
Available: 0 MB
Used: 0 MB
Peak: 0 MB
Page File Memory
Total: 69549 MB
Used: 16487 MB
Peak: 16926 MB
Tools Memory
Total: 0 MB
Used: 0 MB
<</Memory Status>>
<>

Allocator Name: Total size: Used size: Percentage: Peak size

D3D12Memory 7 170 758 K 4 652 850 K 64.9 % 7 417 626 K
texture_streamer_slot_heap 1 835 008 K 968 128 K 52.8 % 1 835 008 K
#ID[8b36aa40] 44 416 K 48 448 K
#ID[e4378318] 42 304 K 46 272 K
#ID[e5a8544a] 31 936 K 36 480 K
#ID[85882a0e] 28 160 K 31 104 K
#ID[acfe5d43] 23 680 K 32 704 K
#ID[447f3add] 23 360 K 32 128 K
#ID[b4ff3edf] 23 040 K 31 872 K
#ID[0f1a29a5] 20 544 K 29 952 K
#ID[eb3c3470] 15 296 K 17 856 K
#ID[25b4c643] 13 568 K 19 008 K
#ID[6e5a3f56] 12 736 K 13 120 K
#ID[7e8b080f] 12 480 K 13 440 K
#ID[e514d1dc] 10 624 K 16 064 K
#ID[3390aba5] 10 240 K 15 488 K
vertex_buffer 1 671 168 K 755 607 K 45.2 % 1 671 168 K
comitted_render_targets 1 497 856 K 2 104 576 K
NO_CATEGORY 1 497 856 K 2 104 576 K
comitted_textures 1 274 336 K 1 470 728 K
#ID[becf238c] 882 760 K 649 144 K 73.5 % 1 024 608 K
#ID[78610b01] 70 128 K 69 987 K 99.8 % 70 304 K
#ID[6e5a3f56] 50 352 K 49 721 K 98.7 % 72 264 K
#ID[3a0be8e8] 49 280 K 49 151 K 99.7 % 49 280 K
#ID[b032bb5c] 43 712 K 43 690 K 100.0 % 87 424 K
#ID[05d802ac] 29 312 K 29 013 K 99.0 % 29 312 K
#ID[8b36aa40] 24 052 K 23 786 K 98.9 % 24 768 K
#ID[9e302b8b] 22 336 K 22 015 K 98.6 % 50 564 K
#ID[9864667b] 18 048 K 17 403 K 96.4 % 119 360 K
#ID[a27b4d04] 13 120 K 9 284 K 70.8 % 13 120 K
#ID[95a12b1d] 11 692 K 1 082 K 9.3 % 11 692 K
#ID[6dfa0258] 10 944 K 10 922 K 99.8 % 10 944 K
index_buffer 348 160 K 121 345 K 34.9 % 348 160 K
gpu_particles 324 096 K 2 614 K 0.8 % 324 096 K
#ID[ac23744d] 260 992 K 1 999 K 0.8 % 260 992 K
#ID[75314ba6] * 2 26 496 K 279 K 1.1 % 26 496 K
#ID[75314ba6] * 2 18 048 K 145 K 0.8 % 18 048 K
#ID[492e409b] 17 984 K 144 K 0.8 % 17 984 K
D3D12FrameAllocator * 2 139 264 K 0 K 0.0 % 139 264 K
D3D12UploadAllocator 32 768 K 0 K 0.0 % 32 768 K
buffer_heap 20 480 K 19 904 K 97.2 % 38 912 K
D3D12Descriptors 11 174 K 4 861 K 43.5 % 11 174 K
page_allocator 3 849 600 K 4 011 136 K
generic_allocator 2 635 968 K 2 321 008 K 88.1 % 2 588 544 K
resource_manager 1 828 436 K 1 982 220 K
wwise_event 716 960 K 810 228 K
animation 578 216 K 631 510 K
material 282 939 K 318 913 K
state_machine 63 733 K 67 913 K
lua 60 937 K 61 010 K
shader_library_group 29 317 K 29 317 K
slug 18 171 K 18 171 K
oodle_net 16 512 K 16 512 K
package 11 752 K 11 752 K
unit resources 217 477 K 691 919 K
MeshGeometry * 2854 132 606 K 466 636 K
RpsDataPool 78 070 K 237 942 K
lan_transport 35 843 K 35 844 K
WwisePlugin 29 868 K 60 690 K
Application 24 531 K 24 560 K
SceneGraph * 11773 23 956 K 23 956 K
script 19 350 K 31 203 K
ResourcePackage * 4390 17 666 K 21 093 K
MaskedOcclusionCuller 13 711 K 13 711 K
animation_blenders * 14 11 306 K 12 865 K
heap_allocator 1 356 032 K 1 049 026 K 77.4 % 1 356 032 K
(generic_allocator)
lua_heap 1 048 576 K 1 048 575 K 100.0 % 1 048 576 K
slot_allocator 227 264 K 219 310 K 96.5 %
(generic_allocator)
units_heap * 14 69 376 K 64 653 K 93.2 % 69 376 K
large_page_allocator 61 440 K
render_page_allocator 1 203 648 K 2 144 128 K
render_generic_allocator 1 077 248 K 894 549 K 83.0 % 972 608 K
RenderInterface 353 741 K 1 068 527 K
RenderWorld 334 932 K 1 040 473 K
level_world 287 442 K 290 045 K
ObjectAllocator 193 000 K 196 275 K
RenderMaterial 123 145 K 125 084 K
RenderMeshObject 42 466 K 42 989 K
RenderSceneGraph * 8415 17 548 K
state_reflection 56 802 K 78 042 K
update * 23 56 402 K 159 457 K
CullableObjects * 7 35 458 K 54 876 K
portrait_world 21 836 K 23 827 K
state_reflection 20 958 K 21 843 K
update * 67 16 661 K 74 103 K
D3D12RenderDevice 332 391 K 393 405 K
D3D12ResourceContext 244 760 K 308 735 K
D3D12Memory 66 285 K 66 406 K
D3D12FrameAllocator 65 536 K 65 536 K
RenderContextAllocator 189 744 K 189 754 K
D3D12TextureStreamer 12 110 K 20 471 K
render_heap_allocator 546 752 K 372 584 K 68.1 % 561 088 K
(render_generic_allocator)
render_slot_allocator 271 168 K 262 637 K 96.9 %
(render_generic_allocator)
ShaderPoolGenericAllocator 126 272 K 118 863 K 94.1 % 90 496 K
ShaderPoolSlotAllocator 102 016 K 99 429 K 97.5 %
(ShaderPoolGenericAllocator)
ShaderPoolHeapAllocator 24 256 K 19 434 K 80.1 % 90 496 K
(ShaderPoolGenericAllocator)
D3D12StreamLine 503 951 K
physx_page_allocator 111 680 K 139 392 K
physx_generic_allocator 111 680 K 68 528 K 61.4 % 137 408 K
physics_sdk 68 435 K 134 379 K
physx_heap_allocator 97 856 K 55 614 K 56.8 % 99 904 K
(physx_generic_allocator)
resource_loader_page_allocator 45 952 K 1 154 496 K
resource_loader_generic_allocator 45 952 K 44 690 K 97.3 % 1 155 712 K
resource_loader 44 680 K 1 154 005 K
crash_allocator 20 480 K 361 K 1.8 %
Temp Pool: 5 312 K 0 K 0.0 %

Summary:
Tracked Memory: 12 907 734 K
Named Allocators: 12 907 734 K
Page Allocated: 5 212 544 K
Spare memory in named allocators: 6 177 769 K

System Info:
Total Memory: 67 024 336 K
Used Memory: 7 957 800 K
Peak Used Memory: 9 001 836 K
Unused Memory: 59 066 536 K
Page File Memory:
Total: 71 218 640 K
Used: 16 883 540 K
Peak: 17 333 240 K
Tools Memory
Total: 0 K
Used: 0 K

Process Memory:
PrivateUsage: 16 883 540 K
Peak Working Set Size: 9 001 836 K
Working Set Size: 7 957 800 K
Peak Page file Usage: 17 333 240 K
<</Memory Tree>>
<>
#ID[30486d0f] = false; #ID[32fec071] = false; #ID[40274361] = false; #ID[62d82e18] = false; #ID[7816be8b] = true; #ID[872cceda] = true; #ID[921f07bf] = false; #ID[a69d9729] = true; #ID[ad0f8d89] = true; #ID[b287ea32] = true; #ID[bfc1719f] = true; #ID[d3cd4a7b] = false; #ID[d8c36f4d] = 1; #ID[db144c29] = false; #ID[e010da18] = true; #ID[e26e1099] = ; #ID[f921e3b1] = true;
<</Render Capabilities>>
<>
#ID[06f1d0d3] = true; #ID[083115b7] = true; #ID[08f9e86f] = true; #ID[091bd468] = true; #ID[09f7658c] = false; #ID[0a5cf893] = true; #ID[0a7e1dda] = 1; #ID[0d3042d7] = 1; #ID[12648df7] = 1; #ID[1301c0fc] = false; #ID[158ea454] = true; #ID[17af8ce2] = 1; #ID[17fbd176] = true; #ID[1ff27994] = [144,112,196,]; #ID[217a0094] = false; #ID[2b4a07ef] = false; #ID[2ba7c395] = false; #ID[2eec68d7] = [4096,4096,]; #ID[2f0ebe66] = true; #ID[30271a75] = false; #ID[39846683] = false; #ID[3dc0a41f] = [2048,2048,]; #ID[41cc30d6] = true; #ID[4261180b] = true; #ID[4437469c] = false; #ID[4b1ae527] = 100; #ID[4cf95320] = R11G11B10F; #ID[4dfc90ec] = true; #ID[511030be] = false; #ID[51fa707c] = true; #ID[521e8314] = true; #ID[5311abc7] = true; #ID[53a88c27] = 0; #ID[53aece93] = true; #ID[58a6c554] = true; #ID[58d50c14] = false; #ID[591731be] = true; #ID[5923ab38] = false; #ID[5b23a27f] = 0; #ID[5bc01409] = 2.2; #ID[626e4c79] = true; #ID[662251d8] = true; #ID[66c67936] = 2; #ID[66d55137] = false; #ID[67488d9d] = true; #ID[702662e0] = high; #ID[743a4bf1] = high; #ID[752a886b] = false; #ID[757a9c66] = true; #ID[781acd9a] = high; #ID[7d5e6ac4] = 2; #ID[7d92b887] = 1; #ID[7ecedbbe] = true; #ID[7ef9c32d] = false; #ID[807d2fac] = 4; #ID[825d6573] = true; #ID[83fa86d9] = true; #ID[866b9087] = true; #ID[8e8e8d70] = 50; #ID[8f6948e7] = 0.5; #ID[8fbb27ac] = default; #ID[8fe21a51] = 1; #ID[9012e3b2] = true; #ID[9d44dc7f] = 0; #ID[9f681302] = true; #ID[9fdb92f0] = false; #ID[9fec9043] = false; #ID[a00c9715] = 0; #ID[a35323d4] = true; #ID[a56e9325] = false; #ID[ab541828] = false; #ID[abd89f80] = false; #ID[ac6815e6] = false; #ID[ad0f8d89] = false; #ID[ad5cde98] = [512,512,]; #ID[ad6159c5] = false; #ID[ad7990f2] = true; #ID[adf9ff3c] = dlss; #ID[ae835dc5] = true; #ID[b2b9ea5a] = balanced; #ID[b4ee0024] = false; #ID[b52a66bb] = [4096,4096,]; #ID[b751da36] = true; #ID[b9a6bef6] = false; #ID[baa2020c] = false; #ID[bb56c0e2] = 400; #ID[c088031f] = false; #ID[c31c500b] = [1280,720,]; #ID[c466aecd] = false; #ID[ce45eb78] = 0.5; #ID[cff8702e] = true; #ID[d864f17d] = true; #ID[db72134e] = -0.875; #ID[dd043413] = true; #ID[dde3b7d1] = false; #ID[dfa3fe1f] = true; #ID[e2f20722] = true; #ID[e3896b8a] = [256,256,]; #ID[e6bcf966] = true; #ID[e9250ef0] = false; #ID[eb6f2070] = false; #ID[ec4a90d8] = true; #ID[ec8fd018] = true; #ID[edd3c1c3] = false; #ID[f1179189] = true; #ID[f4fd9c6d] = [2048,2048,]; #ID[f876be85] = false; #ID[fcdb085e] = 2;
<</Render Settings>>
<

19:18:21.906 <>Unknown lua error

At D:\a\d\rel_engine_darktide\release\2025_04_29_Patch1.8.x\runtime\application\script\lua_environment.cpp:263 in function stingray::LuaEnvironment::Internal::lua_panic


Steps to Reproduce (Required):

play the game.

Reproduction Rate (Required):

Common (<50%)

Platform (Required):

PC - Steam

I don’t know if this would help you but to me when I put:
–lua-heap-mb-size 2048
in the Steam launch options, it helped me to solve the issue, I hope it does for you too :slight_smile:

1 Like

oh amazing, im going to try this, thank you.

1 Like

Hey Khashayarshah, I’ve shared the underlying issue with the team, and I’m waiting to hear back.

oh ok, thanks!

Hi! I’ve been informed that this is most likely the case of having too many mods installed that use the Lua heap. You can increase the Lua heap as instructed above with –lua-heap-mb-size, or uninstall some mods. :slight_smile:

2 Likes