Game Servers

Fix FiveM "Couldn't load resource" / Failed to Start

Couldn't load resourcefailed to start resourcecitizen:/scripting
6 min read Updated 12 June 2026 ESAGAMES Team

A FiveM resource that won't start almost always points to a manifest problem, a missing dependency or a script error. Here's how to read the txAdmin/console output and fix each cause.

Read the console / txAdmin log

The line right after "Couldn't load resource " names the real problem — a missing dependency, a manifest error or a Lua/JS syntax error. Always start there.

Cause 1: fxmanifest.lua errors

Modern resources need an fxmanifest.lua (old ones used __resource.lua). A missing fx_version/game line, or a file listed in client_script/server_script that doesn't exist, stops the resource loading. A minimal valid manifest looks like:

fx_version 'cerulean'
game 'gta5'

client_script 'client.lua'
server_script 'server.lua'
shared_script 'config.lua'

Cause 2: a missing dependency

Many scripts depend on a framework (es_extended, qb-core) or a library (oxmysql, ox_lib). The dependency must start before the script. Add it to the manifest and make sure it's started first in your server.cfg:

# server.cfg — start order matters
ensure oxmysql
ensure es_extended
ensure my_resource

Cause 3: database not connected

If a resource uses MySQL and the connection string is wrong, it fails on start. Check the mysql_connection_string convar in server.cfg points to a database that exists:

set mysql_connection_string "mysql://user:password@127.0.0.1/database?charset=utf8mb4"

Cause 4: a script (Lua/JS) error

A syntax error or a runtime error in the resource's own code will stop it. The console prints the file and line — open it, fix the error, and restart the resource with restart my_resource from the console.

The clean checklist

  1. Read the exact error under "Couldn't load resource".
  2. Validate fxmanifest.lua (fx_version, game, real file paths).
  3. Start dependencies (framework, oxmysql) before the resource.
  4. Verify the MySQL connection string and that the DB exists.
  5. Fix any Lua/JS error on the file:line the console reports.
  6. Restart and watch the console for a clean start.
On FiveM, start order is everything: libraries and frameworks must be ensured before the scripts that use them.

Host FiveM the easy way

Our FiveM hosting ships txAdmin, MySQL and ESX/QBCore-ready setups on high-clock CPUs behind multi-Tbps Anti-DDoS.

FiveM hosting
FAQ

Frequently asked questions

Why does my FiveM server get stuck on the loading screen?

Usually a resource error during start, a missing framework dependency, or a bad streamed asset. Check the server console for the first resource that fails — it's often the culprit blocking the rest.

What is the difference between fxmanifest.lua and __resource.lua?

fxmanifest.lua is the current manifest format; __resource.lua is the legacy one. New resources should use fxmanifest.lua with an fx_version line.

Do I need a legitimate copy of GTA V?

Yes. You and every player need a legal copy of Grand Theft Auto V on a Rockstar/Steam/Epic account to join a FiveM server.

Knowledge base

Related articles

Skip the troubleshooting

Managed, protected hosting in Frankfurt — we handle the Linux, the network and the DDoS so you don't have to.

Payments Secure checkout with cards, banking apps and digital wallets.

Choose the payment flow that fits your stack and region without leaving the platform.

Pay by Zen Visa Mastercard Paysafecard PaysafeCash Skrill Trustly Bancontact UnionPay iDeal WebMoney