Payday 2 Crashes Randomly (Even After Removing Mods!)
Avatar

Below is the error I get in the payday 2 crashlog.

Tue Aug 20 13:19:00 2024

Application has crashed: access violation

Callstack:

 payday2_win32_release  (???)     zip_error_init                                      
 payday2_win32_release  (???)     ???                                                 
               WSOCK32  (???)     ???                                                 
               WSOCK32  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???                                                 
 payday2_win32_release  (???)     ???

Below this is a more recent crash log.

Wed Aug 21 17:58:05 2024

Application has crashed: C++ exception
[File] Cannot read from file "D:\SteamLibrary\steamapps\common\PAYDAY 2\assets\all_114.bundle" => error code 998: Invalid access to memory location. (d:\jenkins\shared-workspace\diesel\engine\dieselx\dieselx\blobs../utility/Archive.cpp:2482)

SCRIPT_STACK

change_material_config() lib/managers/dynamicresourcemanager.lua:230
set_character_visual_state() lib/managers/criminalsmanager.lua:621
update_character_visual_state() lib/managers/criminalsmanager.lua:444
update_character_visual_state() lib/network/base/networkpeer.lua:2494
set_unit() lib/network/base/networkpeer.lua:2458
spawn_unit() lib/network/base/networkpeer.lua:2336
spawn_players() lib/network/base/basenetworksession.lua:1511
update() lib/states/ingamewaitingforplayers.lua:310
update() core/lib/utils/game_state_machine/coregamestatemachine.lua:92
update() lib/setups/setup.lua:940
update() lib/setups/gamesetup.lua:802
update() lib/setups/networkgamesetup.lua:21
core/lib/setups/coresetup.lua:559

Bug
Avatar

yeah i have the same issue, it's a "random" out of memory

you can try removing mods until it works or getting stuck restarting the game until it also works

you can thank Starbreeze for breaking everything in the last update
silencing legitimate and civil criticisms regarding PAYDAY 3
and overall having their 3th attempt this year from their CEO to flee the country with company money.

Avatar

He has low end pc with low RAM that must be the case

Avatar

@joniathanexe

nope, i have 16GB and i have the same issue.
PD2 is a 32bit application so it's very limited on the memory it can use.
after the Epic Games update they added something that essentially weights down the memory as much as at least 400 mods

Avatar

@sabina how odd i have over 100 mods and i have no crash with the memory like i have 32 gb of ram but the game engine needs only 4 gb but if you add many textures mods it will crash and i have only 2 textures mods one being heavy and the other a reload animation

Avatar

@joniathanexe System information:
Application version : 1.143.243
CPU : AMD Ryzen 9 5900X 12-Core Processor (12 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1
DirectX : 12.0
GPU : AMD Radeon RX 6800 XT / atidx9loader32.dll[32.0.11029.1008]
Language : english
Memory : 32648MB 316KB
OS : 6.2.9200 () 0x100-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Microsoft (Headphones (2- Arctis Nova 3))

No I don't believe my system really qualifies as low end.

Avatar

@joniathanexe

i have 500+ mods including ResMod

before the update i could run 900+ mods with ResMod flawlessly without random crashes or crashing at the main menu

some might think "you have too many mods" i can only say; i used to have more, and whatever they fucked in the last update, is as heavy as 400-700~ mods

Avatar

@XxRPJeezusxX234 my bad i didnt know, but maybe verify files or re install the game and install clear texture cache to improve the game from crashing from lack of memory

Avatar

@sabina yea and the last update are dogshit killing the game but aside from that maybe the files are corrupted

Avatar

@joniathanexe You're fine, also I have both reinstalled and verified the integrity of the files. Also I have no idea how to install a clear texture cache.

Avatar

@joniathanexe

done all of that multiple times, it's just how the game it's now.

Avatar

@XxRPJeezusxX234 Update: Seems that after going into windows security and making the entire payday 2 folder an exception, the crash has been fixed.
Deleting old cached windows files may have also helped.

Avatar

@XxRPJeezusxX234 Nice, now you can enjoy payday :D

48 1316