I’m having trouble getting a custom add-on vehicle to load on my QB-Core FiveM server. When I try to spawn the vehicle using vMenu with its exact spawn name, I get a “not found” error. It seems like the server is skipping the folder entirely during startup, as I don’t see it being loaded in the console.
What I’ve Tried So Far:
Checked Folder Structure – The vehicle folder (
mycustomcar
) is inside server-data/resources/
and structured correctly with stream/
, data/
, and fxmanifest.lua
.
Added to
server.cfg
– The resource is included as ensure mycustomcar
.
Manually Started the Resource – Running
start mycustomcar
in the console returns “Could not find resource”, meaning the server isn’t detecting it.
Cleared Cache & Restarted – Deleted the
cache/
folder and restarted the server, but the issue persists.
Verified
fxmanifest.lua
– Ensured it correctly references .meta
files and uses the proper syntax.
Checked Console Logs – The server does not display any errors related to the vehicle; it just seems to skip over the resource entirely.
Tested Other Vehicles – Other add-on vehicles in my server load and spawn fine, so the issue seems specific to this vehicle.
Checked
qb-core
Interference – I tried adding the vehicle to qb-core/shared/vehicles.lua
, but that didn’t fix the issue.
Possible Causes / Questions:
- Could
qb-vehicles
or another script be preventing the vehicle from loading? - Could FiveM be ignoring the folder due to a naming issue or incorrect permissions?
- Is there a way to force FiveM to recognize the resource?