citizenfx / fivem

The source code for the Cfx.re modification frameworks, such as FiveM, RedM and LibertyM, as well as FXServer.
https://cfx.re/
3.58k stars 2.13k forks source link

After a certain amount of custom/edited AMV for MLO/Interiors, vehicles (wagons & trains) start to blink #2821

Open zetafe1 opened 2 months ago

zetafe1 commented 2 months ago

What happened?

After around 22 custom/edited AMV for MLO/Interior vehicles (wagons & trains) start to blink

here some videos of the issue: (sorry for low quality)

https://github.com/user-attachments/assets/42eae846-9ac0-4d15-9343-b79a4549942b

https://github.com/user-attachments/assets/e2516241-28a6-46e2-99f8-254f105f27c4

https://github.com/user-attachments/assets/d17c3f0d-e8e4-4087-890a-2b2754ec824d

https://github.com/user-attachments/assets/d7a0d477-372b-4a13-b16c-2cbb8c17c93a

here a video with/without more than 22 amv

https://github.com/user-attachments/assets/a39e57e4-9fe8-42f7-b2df-975b78c68fca

AMV limits and usage

amv_usage_around_30_custom_amv

5150 it's base amv pool and on both value is lower

It can be related to amv ytd / ymt entries or ymt files stremed but i already merged amv's to be under 22 and veh/trains seems to work OK

Would be great help to fix or make more tests as AMV in Rdr2 are very important for MLO/Interiors and many creators use them, so very soon servers will start to have issues related to wagons/trains blinking

Expected result

No blinking on veh/wagons/trains

Reproduction steps

  1. Testing with more than 22 amv = blinking wagons and trains
  2. Testing with 22 amv or less = NO blinking wagons and trains

(same video as before)

https://github.com/user-attachments/assets/e5585487-47e1-4b2c-b779-548e768bd7bc

Before focusing on AMV I tested Timecycles, different amount/number of custom MLO/Interiors, ydr's, ytd's but then the issue was resumed to AMV's.

More creators such as Ktos and SevenLife tested with same results, and more people/servers start to have issues with this.

Importancy

Slight inconvenience

Area(s)

RedM

Specific version(s)

RedM ver.10011/prod & ver.10048/canary or latest versions

Additional information

As many creators use now more and more AMV's in their projects in order to make proper interiors/MLO - servers will start to have this issue more frequently if the issue is not fixed, wagons and trains will blink. The only way I managed to workaround on my server was to remove extra AMV's and merge some of them to not exceed and like this wagons and trains are not bilinking anymore, but it is also a bit random, also it can happen that merging amv will make trains blink again or just some wagons/coaches, then i remove and remake amv and does not blink anymore, so that is why issue can be related to amv ytd / ymt entries or ymt files stremed. Hope the information I bring will help to understand the issue atm. Thank you for your help in fixing this, for further tests or anything im available to help.

SevenLife commented 1 month ago

I support that !

Guachannah commented 1 month ago

I support that!

LeonhardGottberg commented 3 weeks ago

Can only support this!