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

engineRequestModel("ped") causes random skin texture mismatch

Open realArshin opened this issue 9 months ago • 4 comments

Describe the bug

Image Image

When using engineRequestModel on ped models, the skin textures become corrupted or mixed up. Specifically, a ped sometimes receives textures from a different skin, seemingly at random.

This issue happens without any custom shaders or texture replacements applied manually. As a result, peds appear with incorrect or unrelated clothing/skin textures, breaking visual consistency.

Steps to reproduce

Start MTA:SA with a clean resource (no shaders or custom textures).

Spawn one or more peds with custom skin IDs.

Call engineRequestModel(pedModelID) for those peds.

Observe the ped skins after the model is requested/loaded.

Notice that some peds randomly display textures belonging to other skins.

Version

1.6.0-9.23952.0

Additional context

No response

Relevant log output


Security Policy

  • [x] I have read and understood the Security Policy and this issue is not security related.

realArshin avatar Feb 21 '26 21:02 realArshin

Can confirm as players have reported this to me: https://imgur.com/JScnqHG + https://imgur.com/a/Xb79J53

ArranTuna avatar Mar 07 '26 09:03 ArranTuna

Fixed since r23977: e26a62d, 90e8969 (confirmed by multiple testers) Note that d87b4d8 is also required to make it whole.

Dutchman101 avatar Mar 13 '26 22:03 Dutchman101

Image In the new build 23952, this problem has returned.

realArshin avatar Apr 06 '26 03:04 realArshin

Fixed since r23977

FileEX avatar Apr 06 '26 09:04 FileEX