Skip to content
FIVECRATE
Addon vehicles intermediate

FiveM Addon Car Not Spawning or Invisible: Causes and Fixes

Fix a FiveM addon car not spawning: check in order whether the resource, vehicles.meta and the stream files loaded, then fix invisible cars and NULL names.

Modder compares a ghosted wireframe car in a garage with its fully rendered vehicle preview on a diagnostic monitor
Author: FiveCrate
Published:
Updated:
Read time: 23 min
Applies to
FiveM Legacy servers and clients (FiveM source code as of 2026-11-20), with notes for FiveM for GTAV Enhanced (stream_enhanced); spawn behavior of the txAdmin menu, Qbox, ESX Legacy, QBCore and ox_lib as of 2026-11-20
Last verified

Direct Answer

When a FiveM addon car is not spawning, find which of three stages failed: the car’s resource never started, the game never loaded its vehicles.meta (the spawn menu says the model does not exist), or the model files in stream never loaded (nothing appears, or the car is invisible). Check them in that order. Look for Started resource in the server console, spawn by the modelName written in vehicles.meta, confirm that file is listed under files and declared with data_file 'VEHICLE_METADATA_FILE', then confirm the .yft and .ytd files sit loose in stream and raise no size warning. A car whose name shows as NULL only lacks a text entry.

Why an addon car does not spawn: three things have to load

An addon car is a resource with two halves: .meta data files and streamed model files. The addon cars install guide builds one from an empty folder. For a spawn command to end in a visible car, three things have to load, in this order:

  1. The server starts the resource. FXServer reads fxmanifest.lua, scans the resource’s stream folder and prints Started resource followed by the resource name.
  2. The client loads vehicles.meta as a data file. A files entry adds the file to the resource package, “to be downloaded by clients upon loading the resource”. The docs describe the data_file entry in one sentence: “Adds a data file of a specified type to the game extra content system.” Once that has happened, the game knows the car’s model name. FiveM’s GET_ALL_VEHICLE_MODELS native describes the result as “all registered vehicle model names, including non-dlc vehicles and custom vehicles”.
  3. The client loads the model files. The .yft and .ytd files are streamed to the player. A spawn script requests the model, waits until it has loaded, then creates the vehicle. The natives reference says the model “should be loaded already” when CREATE_VEHICLE runs.

A fourth piece, the display name, never blocks a spawn. It only decides what menus call the car.

Each break has its own symptom:

What you seeWhat is brokenWhere to fix it
Couldn't find resource mycar., or no Started resource mycar lineThe resource did not startStep 1
The vehicle model name 'mycar' does not exist!, attempted to load invalid model, or a spawn command that does nothingThe game does not know the model: vehicles.meta did not load, or the name is wrongSteps 3 to 5
The name is accepted but no car appears, the car is invisible, or a script reports failed to load modelThe model files did not loadSteps 6 and 7
The car spawns and drives, but its name reads NULLThe car’s gameName has no text entryThe NULL section below

The statements on this page come from the Cfx.re docs and from the source code of FiveM, txAdmin, ox_lib, vMenu and the frameworks. Where a point rests on a Cfx.re forum answer, the text says so.

What “vehicle model does not exist” means in each spawn tool

Before a spawn tool creates anything, it asks the game about the model. In the words of the natives reference, IS_MODEL_VALID “Returns whether the specified model exists in the game.” and IS_MODEL_IN_CDIMAGE is a “Check if model is in cdimage(rpf)”. Those two tell a tool whether the game knows the name at all. HAS_MODEL_LOADED “Returns whether the specified model (archetype) is currently loaded.”, which tells it whether the files have arrived.

Tools report a name the game does not know in very different ways:

Spawn toolWhat an unknown model name looks likeWhy, per its source code
txAdmin menu, Vehicle then SpawnAn error message: The vehicle model name 'mycar' does not exist!The client runs IsModelValid first. For a known name it shows Trying to spawn mycar. and asks the server to create the car.
QBCore /carNothing happens and nothing is printedThe client handler returns as soon as IsModelInCdimage is false.
ESX Legacy /carNothing spawnsThe server asks a client for the vehicle type. That lookup fails when IsModelInCdimage or IsModelAVehicle is false, and no vehicle is created.
Qbox /carServer console warning No vehicle type found for model: mycar temp vehicle was created and taken in typeQbox reads the vehicle type from its vehicle list in shared/vehicles.lua. The warning means the model has no entry with a type there, whether or not the game knows it. Qbox then creates a temporary vehicle to read the type, and stops with temp vehicle never existed if that fails.
Any script that calls ox_lib’s lib.requestModelClient error attempted to load invalid model followed by a numberThe function raises it when both IsModelValid and IsModelInCdimage are false. The number is the model hash.

A name the game knows can still fail on the third check. ox_lib has a separate error for that case:

failed to load model '<hash>' - this may be caused by
- too many loaded assets
- oversized, invalid, or corrupted assets

QBCore’s /car handler is quieter. It requests the model and then loops until HasModelLoaded is true, with no time limit, so a model whose files never load leaves the command waiting without a message. txAdmin confirms with Vehicle spawned! once the new vehicle exists on your client and you have been seated in it.

Fix a FiveM addon car that is not spawning, step by step

The steps use mycar as the name of the resource folder. Do them in order: each one rules out one part of the chain. They are written for FiveM Legacy. For FiveM for GTAV Enhanced, read the Enhanced section as well, because it changes step 6.

  1. Confirm that the resource started. Type ensure mycar in the server console. ensure restarts a resource that is running and starts one that is not. A healthy car answers Started resource mycar. Started resource mycar (1 warning) means FXServer printed a warning just before that line. Couldn't find resource mycar. means no resource of that name is loaded. If you added the folder while the server was running, type refresh first: it rescans the resources folder and makes new resources available to start. If the car only works after you type the command, the resource is not started at boot. The docs note that console commands can also be run from a server configuration file, so add the line ensure mycar to server.cfg.
  2. Spawn a game car with the same tool. Try adder. If a game car fails as well, the addon is not the cause. Jump to the Troubleshooting entry on spawn commands that do nothing.
  3. Take the spawn name from vehicles.meta. Open the file and find the modelName line of the car. A forum answer gives the rule in one line: search for <modelName>HERE CAR NAME</modelName> “and then use /car car_name”. The resource folder name is not the spawn name.
  4. Check the files entry for vehicles.meta. The path is relative to the resource folder and has to match the real location, including a subfolder such as data. FXServer checks these paths when the resource starts and warns about a file it cannot find.
  5. Check the data_file line for vehicles.meta. It needs the type VEHICLE_METADATA_FILE and the same path as the files entry. FXServer does not check this line, so a mistake here produces no warning on the server.
  6. Check the model files in stream. The folder has to be named stream and sit in the resource folder, next to the manifest. The .yft and .ytd files go in as loose files, in stream itself or in a subfolder of it, never inside an .rpf archive.
  7. Read the size warnings. A line such as Asset mycar/mycar.ytd uses <size> MiB of physical memory. at resource start points to an oversized file. The oversized assets guide explains how to shrink it.
  8. Restart the resource and test again. Run ensure mycar, then spawn the car by its model name.

The fxmanifest.lua lines that register the model: files and data_file

The manifest reference shows the pattern in its own example. Each .meta file appears twice, once under files and once in a data_file line with the same path:

files {
    'audio/mywaves/stupidcar.awc',
    'myvehicles.meta',
    'metas/*_handling.meta',
}

data_file 'AUDIO_WAVEPACK' 'audio/mywaves'
data_file 'VEHICLE_METADATA_FILE' 'myvehicles.meta'
data_file 'HANDLING_FILE' 'metas/*_handling.meta'

A reply in a Cfx.re forum bug report from October 2021 explains why both entries are needed: “data_file is a hint to the game engine to read that file”, but “the file does not automatically exist on the client, only on the server”, so “it also needs to be in files”. The reporter had left out files, and the client console answered with Failed to parse resources:/gb-assets/vehicles/vehicles.meta and the advice “Make sure this is a well-formed XML/PSO file.”

Three details in the docs example matter when a car will not spawn:

  • The file name is free, the type is not. The vehicle file here is called myvehicles.meta. What makes it a vehicle definition is the type VEHICLE_METADATA_FILE, one of the keys on the official Data Files page. A misspelled type is rejected by the client.
  • Paths include folders. If the download keeps its .meta files in a subfolder, both entries must say so. data_file supports wildcard patterns in the file name field, as the metas/*_handling.meta line shows.
  • Wildcards can fail silently. FXServer’s missing-file warning is built for explicitly written paths. A wildcard pattern that simply matches no file adds nothing, and you should not count on a warning for it.

The docs example shows the pattern, not a complete car manifest. For the full set of .meta files and the order of their lines, follow the addon cars install guide. The fxmanifest.lua guide covers the rest of the manifest.

File names in stream and names in vehicles.meta

FiveM registers every streamed file under its file name without the extension. The client source comments the step as “get basename (‘thing.ytd’) and asset name (‘thing’)”. Community how-tos tie those names to the meta file. One forum tutorial that turns a replace car into an addon renames dubsta.yft to g63.yft and dubsta_hi.yft to g63_hi.yft, warns to keep the _hi part, and then writes the same name into four fields of the car’s Item block in vehicles.meta:

<modelName>G63</modelName>
<txdName>G63</txdName>
<handlingId>G63</handlingId>
<gameName>G63</gameName>

So when someone has renamed a car, check that the files in stream and these values were renamed together. Another forum reply adds a caution about handlingId: it “has to be the same handlingId name as in the handling.meta file”, and it can differ from gameName.

Server console and client console messages for a broken car resource

FXServer prints these lines in the server console:

Server console messageMeaningFix
Couldn't find resource mycar.No loaded resource has that name.Match the folder name and the ensure line. Keep the folder inside resources, directly or in a bracketed category folder. Run refresh.
mycar does not have a resource manifest (fxmanifest.lua)The folder was not parsed as a resource.Name the manifest exactly fxmanifest.lua and place it in the car’s folder.
Resource mycar does not specify an `fx_version` in fxmanifest.lua. or Resource mycar does not support the current game (gta5).The manifest has no version line, or no game line that covers gta5. In both cases FXServer warns and blocks the start.Add fx_version 'cerulean' and game 'gta5' at the top.
could not find file `vehicles.meta` (defined in fxmanifest.lua:<line>)A path written under files does not exist.Correct the path or move the file.
Asset mycar/mycar.ytd uses <size> MiB of physical memory.The asset needs more than 16 MiB of physical or virtual memory. Above 48 MiB the line adds “Oversized assets can and WILL lead to streaming issues (such as models not loading/rendering).”Reduce the file with the oversized assets guide.
You lack the required entitlementThe resource is protected by Asset Escrow and, per the docs, “will not start” on a server that is not authorized for it.See You lack the required entitlement.

If the answer is Couldn't start resource mycar., work through the Couldn’t start resource guide.

The other half is reported on the player’s side. Press F8 in game to open the client console. The docs list its commands as useful to “debug resource issues”.

Client messageMeaningFix
Could not add data_file <file> - invalid type <type>.The type in a data_file line is not one the game has a loader for. The file is skipped.Copy the type from the Data Files page.
Failed to parse <file>, ending with Make sure this is a well-formed XML/PSO file.The game could not read a declared data file. In the forum report quoted above, the file was missing from files.Add the file to files. If it is listed, replace it with an intact copy.
can't register <file>: it's an RPF, these don't belong in stream/ without extracting them firstAn .rpf archive sits in stream.Extract the archive and put the loose files in stream.
can't register <file>: no streaming module (does this file even belong in stream?)FiveM found no streaming module for that file extension.Keep only streamable assets in stream. .meta files go under files.
ignoring <file>: it's a file for GTA V build 2372 or above (a second variant names build 2545)The file name is on FiveM’s list of game assets from a newer game build than the one your server enforces.Raise the build with the sv_enforceGameBuild guide.
Could not find gameName value in vehicles.meta for vehicle model mycarQbox asked the game for the display name of a model in its vehicle list and got CARNOTFOUND, the answer for an invalid model.Fix the car as an unknown model, or correct the model value in shared/vehicles.lua. Qbox runs this check once, when its client script starts, so the name is registered the next time that script starts.
[QBCore] Model does not exist: followed by a numberQBCore’s LoadModel helper found the model neither valid nor in the CD image.Fix the car as an unknown model.

For every data file it handles, the client also logs a line that starts with loading, the type and the file, followed by a line with the result. The source code builds them like this:

loading VEHICLE_METADATA_FILE <path>/vehicles.meta.
done loading <path>/vehicles.meta in data file mounter <mounter>.
failed loading <path>/vehicles.meta in data file mounter <mounter>.

A done line means the loader for that type accepted the file. A failed line means the loader reported a failure. The Data Files page names CVehicleMetaDataFileMounter as the mounter for VEHICLE_METADATA_FILE.

Addon car invisible in FiveM: when the model files do not load

When the name is accepted but no car shows up, or you sit in a car you cannot see, the game knows the model. What is left to check is the model files and how they reach the player:

  • The files are not where FXServer looks. The server code scans one folder per resource, stream, with all its subfolders. A folder with another name is not scanned, and neither is a stream folder that sits one level deeper than the manifest. A forum reply puts it the same way: the model files “have to be inside a “stream” folder, called exactly stream”.
  • The files are still packed. An .rpf archive in stream is refused with the can't register message from the table above.
  • The file names do not match the model. See the section on file names earlier on this page.
  • The files are oversized. FXServer’s own warning says such assets lead to “models not loading/rendering”, and ox_lib lists “oversized, invalid, or corrupted assets” as a reason a model fails to load. Work through the oversized assets guide.
  • The download is slow. Model files are not sent with the rest of the resource. The forum reply quoted earlier says stream “is downloaded on request and automatically indexed”. A February 2022 forum reply explains players seeing invisible vehicles with a slow connection, assets that are “too big and unoptimized”, or a hosting server that is too slow. If a car shows up after a wait, look at file size and download speed before you touch the manifest.
  • A game car is invisible too. Then the addon is not at fault. In its third development update for FiveM for GTAV Enhanced (July 15, 2026), Cfx wrote that the new platform “fixed issues with server-side entity creation that could previously result in invisible entities for connected players”. txAdmin, ESX Legacy and Qbox all create the vehicle on the server with CREATE_VEHICLE_SERVER_SETTER.

To watch the streamer directly, the client has two developer commands. strlist is “a graphical interface showing the entries registered in the GTA streamer, and their current status”, and strdbg shows “what is currently being loaded in the GTA streamer”. Developer commands need a client in developer mode. On FiveM for GTAV Enhanced that requires sv_devMode true on the server.

Car shows NULL as its name in FiveM: gameName and text entries

A car that spawns and drives but is called NULL in a garage, shop or admin menu has no spawn problem. The name is built in two steps:

  1. GET_DISPLAY_NAME_FROM_VEHICLE_MODEL returns “the display name/text label (gameName in vehicles.meta)” of the model, or CARNOTFOUND if the model is invalid.
  2. Scripts pass that label to GetLabelText. The natives reference lists it as GET_FILENAME_FOR_AUDIO_CONVERSATION, with _GET_LABEL_TEXT as an alias, and says it gets “a localized string literal from a label name”.

For a label that has no text, the second step answers with the word NULL. vMenu’s source says so in a comment: “GetLabelText answers the string “NULL” rather than nothing for a key it does not know”. ESX’s admin menu tests for the same value before it uses a label. A gameName the game has no text for stays NULL until a script adds the text with ADD_TEXT_ENTRY, a FiveM client native that takes an entry key and an entry text.

How much of this you have to do yourself depends on the framework:

FrameworkWhere the visible name comes fromWhat to do
QboxWhen its client script starts, qbx_core goes through its vehicle list and registers each entry’s name as the text for that model’s gameName.Add the car to shared/vehicles.lua with the dealership guide. Listed cars need no name script.
QBCoreQBCore.Functions.GetVehicleLabel returns the result of GetLabelText unchanged.Add a text entry.
ESX LegacyIt varies by resource: esx_garage builds the vehicle’s name from the display name itself, esx_policejob passes it through GetLabelText, and the admin menu falls back to the display name when the label is NULL.Add a text entry, and give the car a readable gameName.

Add a text entry with vehicle_names.lua and AddTextEntry

  1. Find the car’s gameName in vehicles.meta. That value is the key, not the spawn name and not the file name. A forum answer to a list of failed attempts says it in three words: “Use the gameName.”
  2. Create a file named vehicle_names.lua in the car’s resource folder. This template comes from a forum answer. Replace both strings and add one AddTextEntry line per car:
Citizen.CreateThread(function()
 AddTextEntry('GAMENAME HERE', 'CUSTOM INGAME NAME HERE')
end)
  1. Load it as a client script. ADD_TEXT_ENTRY exists on the client only, so the file goes into the manifest like this:
client_scripts {
 'vehicle_names.lua'
}
  1. Restart the resource with ensure mycar.

Four details save time here:

  • One resource can hold all names. A forum answer shows a separate resource that contains only a manifest and vehicle_names.lua.
  • A text entry belongs to its resource. FiveM’s code removes the entry when the resource that added it stops, or hands the label back to another resource that had set it. Keep the names resource running.
  • Hex keys are legacy. Old name scripts pass a key that starts with 0x. FiveM’s code reads such a key as a ready-made hash and hashes any other key itself. A July 2020 forum reply sums it up: “You don’t need the hex hash anymore.”
  • Keep gameName short. Two forum users give the same advice. One of them writes: “Make sure GameName is under 11 characters otherwise the vehicle will display as NULL in store.” In one of the threads where that fix was posted, the label that stayed NULL was nissantitan17, which has 13 characters. The natives reference states no length limit, so treat this as community advice.

FiveM for GTAV Enhanced: stream_enhanced and converted models

FiveM for GTAV Enhanced has been in early access since July 21, 2026. Three points from the official What’s Changed page affect a car that does not appear there:

  • stream_enhanced replaces stream. “When a stream_enhanced folder is present, its contents are loaded instead of the stream folder on FiveM for GTAV Enhanced.” A resource that has this folder must have every model in it. A file that exists only in stream is not used on Enhanced. Without a stream_enhanced folder, Enhanced still reads stream, which the page calls deprecated.
  • Models are a different generation. The page tells you to “place Gen8 assets in stream and Gen9 assets in stream_enhanced”. Alchemist is the official tool that converts Legacy (Gen8) assets “to be compatible with GTAV Enhanced (Gen9)”. If a car works on Legacy and not on Enhanced, convert its files first with the Alchemist guide.
  • Protected packs are not converted. The page lists Asset Escrow as “Not implemented yet”. Alchemist’s GUI stops on an escrowed asset, and its CLI skips such assets and notes them in its report, so an escrow-protected car does not come out of Alchemist as a Gen9 model.

The page lists no change to files or data_file, so start with the same vehicles.meta checks. Enhanced currently supports only the latest game build, and the server commands reference says the older builds “only apply to FiveM Legacy”. The console messages quoted on this page were read in the FiveM Legacy source code.

Troubleshooting

Some addon cars spawn and others do not, with no error

In one Cfx.re forum thread, two cars refused to spawn “with no errors in the client or anything” although the owner had seen 95% of the cars tried work fine. The owner solved it in June 2021 by enforcing game build 2189 on a fresh server: “Turns out it was a version issue”. The docs say sv_enforceGameBuild “Selects a game build for clients to use”, and that every build includes the content of the builds before it. Compare your build with what the car’s author requires, then repeat the eight steps.

/car or the txAdmin spawn does nothing, even for game cars

  • Permission. txAdmin only acts for admins with the menu.vehicle permission, Qbox restricts /car to group.admin, and QBCore registers the command for its admin permission. ESX Legacy reads the allowed groups from the car entry of Config.CommandPermissions in shared/config/main.lua, which lists owner and admin.
  • Entity lockdown. sv_entityLockdown controls “how strict the server is about client-created entities”. In strict mode “No entities can be created by clients”, and relaxed mode blocks script-owned entities created by clients. QBCore’s /car creates the vehicle in a client script, which is what these modes block. txAdmin’s server-side spawn is written “with support for entity lockdown”.

The spawn command creates a trailer or another vehicle instead of the addon

Server-side spawners must tell CREATE_VEHICLE_SERVER_SETTER the vehicle type, which “should be the same type as the type field in vehicles.meta”. txAdmin’s code notes that vehicle types are not available on the server, so it derives the type from the model’s vehicle class, and ESX Legacy uses the same table: class 8 and 13 become bike, 11 becomes trailer, 14 boat, 15 heli, 16 plane, 21 train, and every other class automobile. Class 11 is Utility, so both tools create an addon car of that class as a trailer.

In a 2025 forum thread, /car on an ESX server produced an oil tank in place of an addon Ford, while vMenu spawned the same car correctly. The replies offer two fixes, both community advice:

  • Change the table. One reply sets the entry for class 11 to automobile. In the ESX Legacy version read for this guide, the table is classTypes in client/modules/game/vehicle_types.lua. The change applies to every class 11 model that is not on ESX’s list of exceptions, not only to your car.
  • Change the car’s class. Another reply leaves ESX alone and gives the car a different class in vehicles.meta, written as <vehicleClass>VC_OFFROAD</vehicleClass>.

Qbox avoids the guess for listed cars by reading type from shared/vehicles.lua, so check that value for bikes, boats and aircraft.

The addon car works on a Windows server but not on a Linux server

In a May 2020 Cfx.re forum thread, a vehicle pack whose folders were named STREAM and DATA loaded on a Windows server, while on a Linux server “the add-ons would not stream for any client”. The author’s fix was to remove the capital letters: “this includes folders, files and corresponding data written within any files, due to Linux’s case-sensitivity”. FXServer’s code looks for a folder called stream, in lowercase. On a Linux server, name the folder exactly that, and write every path under files and data_file with the same capitalization the file has on disk.

The car spawns, but you are stuck inside it or the game crashes when you get out

A forum reply describes this pattern: “If the car spawns but you are clipped in it, and crash when you move out of the vehicle, then its the vehiclelayouts that are missing / not working.” Add vehiclelayouts.meta to files and declare it as VEHICLE_LAYOUTS_FILE.

Another pack’s model or textures appear on your car

Streamed files are registered by file name. When a streamed file has the name of an asset that is already registered, FiveM’s client overrides the existing one. Two packs that both ship a mycar.ytd therefore compete for one slot. Rename the files of one car together with its meta values, as described earlier on this page.

The car spawns for admins but is missing from the dealership or garage

Spawning proves the files work. On a Qbox, QBCore or ESX server, selling and storing the car is covered in the dealership guide.

Next Steps

Official documentation and repository references