mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

Crash when trying to "add" collision for ID from engineRequestModel

Open FileEX opened this issue 1 year ago • 2 comments

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.

image

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.

FileEX avatar Mar 15 '24 22:03 FileEX

I confirm crashing for me as well with same offset when starting to use timed-objects on new IDs.

ffsPLASMA avatar May 09 '24 17:05 ffsPLASMA

Do you have a test resource? I tested on latest commit and there is no crash.

TheNormalnij avatar May 11 '24 21:05 TheNormalnij

@FileEX

Proxy-99 avatar Jun 19 '24 20:06 Proxy-99

For me the crash no longer occurs. Tested on build 22518

FileEX avatar Jun 20 '24 08:06 FileEX

@TheNormalnij Crash still occurs though

image

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

FileEX avatar Jul 04 '24 12:07 FileEX