multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.41k stars 438 forks source link

Client hangs when loading models from IMG containers #3231

Open Meine1 opened 1 year ago

Meine1 commented 1 year ago

Describe the bug

When loading many custom models using IMG containers, the client freezes and you can only exit by killing the process, doesn't even crashes to desktop. This happens when loading a lot of custom ped or vehicle models with IMG functions. It only happens on recent versions of MTA 1.6 starting with nightly r22197, using the exact same IMG containers and downgrading to nightly r22191 and earlier works fine and doesn't freezes the client.

Might be related to #3193

Steps to reproduce

  1. Load many custom models using IMG containers
  2. spawn custom models in the game

Version

Client: v1.6-release-22279 (Windows 10, 64-bit) Server: v1.6-release-22279 (Windows 10, 64-bit)

Additional context

No response

Relevant log output

No response

Security Policy

Meine1 commented 10 months ago

As of the latest nightly (r22343) loading more than about 20 custom ped/vehicle models via IMG still crashes the game, are there any potential workarounds? [@TheNormalnij]