Skip to content

engineRequestModel("ped") causes random skin texture mismatch #4716

@realArshin

Description

@realArshin

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions