Open
Description
What happened?
Game crashes when Object pool reachs the default limit 3000 items
CfxCrashDump_2025_03_19_01_18_49.zip
Expected result
should not crash
Reproduction steps
spawn an object without avoidance flag to test it since that pool also crashes
Importancy
Unknown
Area(s)
RedM
Specific version(s)
1491
Additional information
local props = {}
RegisterCommand("testProp", function()
RequestModel("alaskanginseng_p", false) -- no avoidance flag on this prop
repeat Wait(0) until HasModelLoaded("alaskanginseng_p")
local coords = GetEntityCoords(PlayerPedId())
for i = 1, 3000 do
local table = CreateObject("alaskanginseng_p", coords.x, coords.y, coords.z, false, false, false, false)
props[#props + 1] = table
end
print("done")
end, false)