engineImageLinkDFF issue
Describe the bug
Some vehicle model replacement isn't working properly. When you spawn in the game, these vehicles will have default GTA:SA models. After going far away, and going back it will be modded vehicle again. I've found these id's only have this issue: 596, 597, 598 (police cars)
https://streamable.com/2hlxey https://streamable.com/0s9v4b
Steps to reproduce
Replace 596, restart mta Then connect to server Used model: 596.zip
Version
Multi Theft Auto v1.6-release-21956
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.
I encountered the same issue but with some skin model IDs, mainly 280, 60, 58, 44, 22, 17, 13, and 7 , might be related #3032
Police cars are cached on a per-region [eg LS, SF, LV] basis, and so are gang vehicles [and maybe even gang ped models].
It is possible that engineRestreamWorld() doesn't actually unload those models.
The function CStreaming::RemoveLoadedVehicle() is responsible for removing these models.
Now, the cop cars and peds for a specific zone are made STREAMING_GAME_REQUIRED in CStreaming::StreamCopModels(eLevelName level).
I believe simply disabling these functions [as they simply exist for optimization purposes - as in, faster load times on CD, reducing pop-in] should solve the problem.
engineRestreamWorld works for police vehicles
engineRestreamWorldworks for police vehicles
Sometimes yes, sometimes not. Sometimes vehicle will not replace, sometimes it will not have textures just like tunable vehicles.
engineStreamingSetModelCacheLimits(0, 0)
This issue isn't solved yet.