What is Vehicle Streaming?
When you add a vehicle mod to your FiveM server, it doesn't ship with the base game files. Instead, FiveM uses a streaming system to dynamically load custom assets when players need them.
Here's how it works:
Understanding Resource Structure
A properly structured vehicle resource looks like this:
my-vehicle/
fxmanifest.lua -- Resource manifest
stream/
my_vehicle.yft -- Vehicle model
my_vehicle_hi.yft -- High-detail model
my_vehicle.ytd -- Vehicle textures
data/
vehicles.meta -- Vehicle definition
handling.meta -- Vehicle physics
carvariations.meta -- Vehicle variations/colorsfxmanifest.lua
The manifest file tells FiveM what files to load:
fx_version 'cerulean'
game 'gta5'
files {
'data/vehicles.meta',
'data/handling.meta',
'data/carvariations.meta',
}
data_file 'HANDLING_FILE' 'data/handling.meta'
data_file 'VEHICLE_METADATA_FILE' 'data/vehicles.meta'
data_file 'CARVARIATIONS_FILE' 'data/carvariations.meta'Optimization Tips
1. Monitor Streaming Memory
FiveM allocates a pool of memory for streaming assets. If this fills up, vehicles and textures may not load. Check your client's streaming memory usage:
2. Optimize Texture Sizes
Large .ytd files (texture dictionaries) are the biggest contributor to streaming load:
3. Use LOD Models
LOD (Level of Detail) models load simpler geometry when vehicles are far away:
vehicle.yft - High detail (close range)vehicle_hi.yft - Highest detail (very close)4. Limit Total Vehicle Mods
Each vehicle mod adds to your server's streaming footprint:
5. Use OneSync
OneSync improves entity management and streaming for larger player counts. Make sure it's enabled:
set onesync onTroubleshooting Streaming Issues
Vehicles appear as default cars
stream/ folder.Long loading times when joining
Texture pop-in or low quality
Server timeout during loading
Using GTA5 Mods Convertor
When you use GTA5 Mods Convertor, the converted resource is automatically structured with proper:
This means you can skip the manual setup and go straight to optimization.