Description
Describe the bug
This only occurs when engineSetAsynchronousLoading(true, true) is used
The error occurs when the player has some txd/dff loaded via an IMG block and he reconnects, disconnects or the resource that loads the IMG block is interrupted. I've tried a few possible solutions, such as taking the vehicle out of rendering when the 'onClientResourceStop' event
is fired, I've also tried using the "engineStreamingFreeUpMemory" functions with high values, I've also tried the "engineStreamingReleaseModel" function.
Nothing seems to work.
Steps to reproduce
1 - download the attached resource
2 - start it
3 - restart a few times or simply reconnect a few times
4 - you will see that the streaming memory usage will not decrease, it will always increase.
Version
Client: Multi Theft Auto v1.6-release-23247
Server: MTA:SA Server v1.6-release-23219
Additional context
Below is the video demonstrating what happened and the resource for testing
https://www.youtube.com/watch?v=StmRB-dp8A0
Relevant log output
Security Policy
- I have read and understood the Security Policy and this issue is not security related.