Is there any addon car limit for the server?

Hello

I am sure I have around 3000 cars on the server right now , after I added some more the game now crashes when loading into the server. The crash I related to the carpack cuz If i remove some then the server loads perfectly but when I add the other carpack back into the server files and load up the game , it will crash while loading .

I couldn’t find any info regarding this in 2022 , the info I could find didnt found to be helpfull
please let me know if you have any insights

I have also tried merging all the car files into one folder and still the same crash

The crash i get while loading is this
image
Here is the crash dump if needed
CfxCrashDump_2022_08_07_13_51_42.zip (1.5 MB)

You can only stream so much data to a client. Say each car is 20mb x3000 = 60gb worth of assets. That is outrageous. But, it depends. Some vehicles may not be optimized or are rather large. (500k+ poly count). I don’t see any reason why you need 3,000 vehicles. But, no there is no ‘limit’.

I own a car server , thats why we have 3000

But if there is no limit then you are saying that the cause of crash is cuz of unoptimized models

Yes, probably.

“CExtraContentWrapper” sounds more to me like there’s malformed XML syntax in a .meta file, but I could easily be wrong.

When you removed and added car packs, did you remove and add the exact same new packs or did you try removing ones that are known to work and add back in the ones that are new? If it’s only a specific pack that breaks it then it’s likely a problem with one of the meta files.

When you merged the files together in a single resource did you merge all the .meta files into a single file for each data type or did you just list them all separately in the same resource manifest? If you have a resource that lists 100+ .meta files in it’s manifest that could potentially be an issue as well.

It’s my understanding that the cars’ full models and textures get streamed to your client when someone spawns the vehicle in, but again I’m not entirely sure.

appreciate the detailed response

when I merged them I coulndt make single meta files for all the cars , cuz they are simply too many
So now i just removed some models till it started working again

Yeah, trying to merge that many meta files by hand would be absolute hell. You might only need to do it for a small subset though, just to keep it under whatever limit you’re hitting. If you feel it’s worth the effort, you could maybe try merging only the ones that are currently disabled with one or two other packs to see if you can squeeze them in there.