Open M1raclee opened 4 months ago
Reproduced with this code on the latest 16.0.0-dev.290 (dev)
alt.on("entityEnterColshape", (colshape, entity) => {
console.log('enter: ', entity, colshape);
})
globalThis.col = new alt.ColshapeSphere(player.pos.x, player.pos.y, player.pos.z, 20);
globalThis.obj = new alt.Object('v_ret_ta_box', player.pos, player.rot);
globalThis.obj.destroy();
Description of the problem
When you have colshape and object on server-side and destroy object -> OnColShape event breaks and not triggers ever
Code:
Reproduction steps
Expected behaviour
OnColShape works fine after destroy server-side objects
Additional context
It was working fine a couple weeks ago, but now it's broken. Tested with C# module
Operating system
Windows 10
Version
client/server: 16.0.0-dev.289, NuGet: 16.0.0-dev.30
Crashdump ID
No response
Confirmation of issue's presence