mtasa-blue
mtasa-blue copied to clipboard
Crash when trying to "add" collision for ID from engineRequestModel
Describe the bug
When adding a collision for ID with engineRequestModel, a crash occurs for the timed-object type. I know that this type has no collisions, but it shouldn't result in a crash.
Crash offset: `0x1E26EE`` (ProcessEntityCollision).
Steps to reproduce
local id = engineRequestModel("timed-object")
local col = engineLoadCOL("test.col")
engineReplaceCOL(col, id)
local txd = engineLoadTXD("test.txd")
engineImportTXD(txd, id)
local dff = engineLoadDFF("test.dff")
engineReplaceModel(dff, id, true)
Version
Multi Theft Auto v1.6-release-22396
Additional context
No response
Relevant log output
No response
Security Policy
- [x] I have read and understood the Security Policy and this issue is not security related.
I confirm crashing for me as well with same offset when starting to use timed-objects on new IDs.
Do you have a test resource? I tested on latest commit and there is no crash.
@FileEX
For me the crash no longer occurs. Tested on build 22518
@TheNormalnij Crash still occurs though
Test resource: colcrash.zip
Crash does not always occur immediately. Sometimes you need to reconnect, sometimes there is a crash immediately after starting the resource