crashing about 1 minute into heists, any ideas?
Avatar

Application has crashed: C++ exception
[string "lib/units/enemies/cop/logics/coplogicattack.lua"]:1259: attempt to index field 'chatter' (a nil value)

SCRIPT STACK

_upd_aim() lib/units/enemies/cop/logics/coplogicattack.lua:1244
clbk() lib/units/player_team/logics/teamailogictravel.lua:236
_execute_queued_task() lib/managers/enemymanager.lua:598
_update_queued_tasks() lib/managers/enemymanager.lua:613
update() lib/managers/enemymanager.lua:52
original() lib/setups/gamesetup.lua:807
update() @mods/base/req/core/Hooks.lua:266
update() lib/setups/networkgamesetup.lua:21
core/lib/setups/coresetup.lua:559

Bug
Replies
Avatar

delete whatever mod is causing that and verify game files

Avatar

i managed to fix it by updating my graphics driver of all things

Avatar

@nonneayorbisnius
neverfuckingmind, it still crashes on heists that use the federales

Avatar

Try removing

AI tweak mods (police behavior, assault tweaks, realism mods)
Custom enemy mods missing expected data fields
Overhaul mods messing with enemy logic or brain components
A mod removing / rewriting cop chatter/voice functionality

Specifically the crash happens while cops are aiming/shooting (_upd_aim() in coplogicattack.lua).

14 333