Application has crashed: C++ exception / attempt to index a nil value
Avatar

Good morning, Good evening and Good afternoon depending on the time you read this
after the new PAYDAY 2 Update which I downloaded today ( 18/12/2025 ) of course some of the mods I installed bugged out, the problem now is that I can't Identifie which mode is the cause so can anyone tell me ?
note : of course I don't mean the exact mode but what type of mode I should be looking for
the bus is a crash in the heist complete screen when all the experience is being counted and stuff before any calculation happens

Crash Log

Application has crashed: C++ exception
[string "lib/managers/upgradesmanager.lua"]:807: attempt to index a nil value

SCRIPT STACK

max_points_for_current_level() lib/managers/skilltreemanager.lua:2202
_aquire_points() lib/managers/skilltreemanager.lua:575
level_up() lib/managers/skilltreemanager.lua:560
_level_up() lib/managers/experiencemanager.lua:296
add_points() lib/managers/experiencemanager.lua:270
give_experience() lib/managers/experiencemanager.lua:146
update() lib/states/missionendstate.lua:914
update() core/lib/utils/game_state_machine/coregamestatemachine.lua:92
original() lib/setups/setup.lua:940
update() @mods/base/req/core/Hooks.lua:266
original() lib/setups/gamesetup.lua:802
update() @mods/base/req/core/Hooks.lua:266
update_original() lib/setups/networkgamesetup.lua:21
update() @mods\FloatingHealthBars\Core.lua:31
orig__update() core/lib/setups/coresetup.lua:559
trainer/tools/pubinfloopv2.lua:141


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
                  KERNEL32  (???)     BaseThreadInitThunk                                 
                     ntdll  (???)     RtlInitializeExceptionChain                         
                     ntdll  (???)     RtlGetAppContainerNamedObjectPath                   

Current thread: Main


System information:
Application version : 1.145.250.
CPU : Intel(R) Core(TM) i9-14900HX (16 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0
GPU : NVIDIA GeForce RTX 4070 Laptop GPU / nvldumd.dll[32.0.15.8180]
Language : english
Memory : 15997MB 432KB
OS : 6.2.9200 () 0x100-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Realtek Semiconductor Corp. (Headphones (Realtek(R) Audio))

if anyone can help please I'm in dire need of it and thanks in advance

Bug
Avatar

Check these mod: Optional Skin Attachments can be the problem

15 414