I had a perfectly functioning game feature involving AttachEntity and AttachEntityBone natives. After latest updates (both on Client and FXServer), each time I try to run those script, the game freezes, then crashes with the message error:
FiveM has stopped responding
[Content]
The game stopped responding for too long and needs to be restarted.
Report ID: si-deb4fef8781c4ceea81d63e5f1dd0e95
FXServer version is the latest (10309)
My code is pretty simple:
AttachEntityBoneToEntityBone(victim, attacker, GetPedBoneIndex(victim, 0x796E), GetPedBoneIndex(attacker, 0x6F06), false, false)
AttachEntityToEntity(vehicle, attacker, GetPedBoneIndex(attacker, 0x6F06), 1.0, 0.25, 0.0, -90.0, 90.0, -15.0, 1, 1, false, 1, 2, 1)
I’m also attaching the crash dump
CfxCrashDump_2024_10_16_06_27_29.zip (1.5 MB)