Skip to content
FIVECRATE

FiveM Stuck on Loading Screen? Fix Each Loading Stage

FiveM stuck on loading screen? Read the stage your players hang at, from handshaking to preloading collisions, and run the server-side check for each one.

A player and technician inspect a stalled city loading screen and a checklist of loading stages at a gaming workstation
Author: FiveCrate
Published:
Updated:
Read time: 15 min
Applies to
FiveM Legacy client and FXServer (citizenfx/fivem source of November 17, 2026); Qbox (qbx_core), QBCore and ESX Legacy join checks; servers without a framework; FiveM for GTAV Enhanced differences from the Cfx docs
Last verified

Direct Answer

When FiveM is stuck on the loading screen, read the status text at the bottom of the screen first: it names the stage the join stopped at. Handshaking with server..., or a line that starts with a resource name, means a server resource has not finished its connection check. Downloading <resource> (N of M ...) points to that resource or your file server. Fetching info from server... and Connecting to server... mean UDP traffic is not getting through. Preloading collisions points to map files. If every stage finishes and the screen still stays up, no script has closed the loading screen.

How to See Which Stage a Player Is Stuck At

The FiveM client reports its progress as text. Connection steps send their messages as connection progress; game steps show a status text. Ask the player for a screenshot or the exact words, because each stage below points to a different part of your server.

The client log has more detail than the screen:

  • FiveM Legacy. The client writes a file named CitizenFX_log_ plus its start date and time into the logs folder inside the FiveM Application Data folder (FiveM.app) of the FiveM installation. To open the installation, press the Windows key and R, type %localappdata%/FiveM and press Enter, as Cfx.re support describes.
  • FiveM for GTAV Enhanced. The readme of the citizenfx/rfc repository gives the log folder as %AppData%\FiveM for GTAV Enhanced\logs; the game client’s files there start with fivem-for-gtav-enhanced-.
  • F8 console. On FiveM Legacy it shows these client lines only in developer mode (the +set moo 31337 launch argument or a non-production update channel, per the Console Commands page); outside it, its filter keeps back everything except script output and three system channels.

Useful log lines: Required resources: lists the resources the client is about to load, Received connectOK marks a finished connection, and Loaded <file> (id N) names each collision file as it loads.

Every FiveM Loading Stage in Order

These are the texts the citizenfx/fivem source shows during a join, at the source commit of November 17, 2026. The connection stages run in this order:

Text on screenWhat the client is doingLook at
Requesting server variables...GET /info.json on your TCP portNetwork, firewall, proxy
Opening a new window to authenticate with Steam.Linking Steam because the server sets sv_enforceSteamAuthThe player’s Steam link
Handshaking with server...POST /client (initConnect); server resources run playerConnectingDeferrals: queues, allowlists, ban and database checks
Requesting server endpoints..., Requesting server permissions..., Requesting server feature policy...Steps after the handshake, including the slot checkServer license key, slot count
Downloading content manifest..., Loading content manifest...Fetching the list of resources (getConfiguration)Server console
Downloading <resource> (N of M - x/y MiB), Verifying ..., Mounted <resource> (N of M)Downloading each resource in turnThat resource, file servers
Fetching info from server...UDP info request, retried every 5 secondsUDP port forwarding
Connecting to server...ENet connect request over UDPUDP port forwarding

After that, the game itself loads, with Loading game (N%), Preloading collisions (N%), session texts such as Entering session and Starting game, and script texts: Starting <resource> while a resource’s client scripts start, then Awaiting scripts.

Stuck on “Requesting server variables” or “Handshaking with server”

Requesting server variables... is the first request to your server. When it fails, the player sees Failed to fetch server variables. followed by the error detail; when the handshake request itself fails, the text is Failed handshake to server. The client marks both as server-side faults, and CURL error 28 and 56 for FiveM covers them code by code.

If the server sets sv_enforceSteamAuth true, a player without a linked Steam account sees a Steam authentication required. prompt before the handshake. The docs say such players “are asked to link one when they connect, and can’t join without linking”. A player who stays at Opening a new window to authenticate with Steam. has not finished that link; FiveM Steam identifier setup explains the setting.

“Deferring connection…” or a message from your server

When the handshake text is replaced by a message from your server, a deferral is running. In the playerConnecting event, a resource can call deferrals.defer() to make the join wait, for example “when you have to wait for an asynchronous task to complete beforehand, such as a database or web API query”. deferrals.update sends text to the player, and deferrals.done ends the wait: with a reason the connection is refused, without one the player is let in.

FXServer prefixes each waiting resource’s message with its name. A resource that has called defer() and nothing else shows as resource_name: Deferring connection..., and the line stays until that resource calls done. While a deferral is open, the server sends an empty message to the client every second, which keeps the request alive. The name before the colon is the resource to inspect. Typical messages from the frameworks:

FrameworkMessage while waitingMessage when the database is the problem
Qbox (qbx_core)Fetching user..., Hello %s. We are checking if you are banned., then the queue: a card titled In Line by default, or You are %s/%s in queue. ... with useAdaptiveCard = falseConnection to database timed out. (Is the SQL server on?)
QBCore (qb-core)Hello %s. Your license is being checked, Hello %s. We are checking if you are banned.[QBCORE] - An error occurred while connecting to the database. ...
ESX Legacy (es_extended, without multicharacter)[ESX] Cleaning stale player entry...[ESX] OxMySQL Was Unable To Connect to your database. ...

Qbox runs its user, ban and allowlist checks against the database and gives up with the timeout message above if they take too long. QBCore and ESX refuse the join at once when their database flag says the connection failed. ESX also refuses servers that run OneSync off or legacy on FiveM Legacy, with [ESX] ESX Requires Onesync Infinity to work., and an FXServer older than artifact 10188 with [ESX] ESX Requires a minimum Artifact version of 10188, Please update your server. If the text names your queue resource, your own allowlist script or a Discord check, read that resource’s server console output.

Joining in the first moments after a restart gives a different answer: until FXServer has processed its first server frame, every handshake is refused with The server is starting up.

Stuck on “Loading Content Manifest” or Downloading Assets

After the handshake, the client asks for the content manifest, the list of resources it needs. It then downloads them one at a time, and the line tells you which one: Downloading <resource> (N of M - x/y MiB), then Mounted <resource> (N of M). When the line stays on the same resource, that resource or the server that delivers its files is the place to look. The size in MiB also shows which resources are large: every addon resource, such as a map from FiveCrate’s MLO and map category or a car from addon vehicles, adds to the list. To shrink streamed textures, see FiveM oversized assets.

Errors at this stage name the step:

MessageMeaning
Obtaining configuration from server failed.The content manifest request failed; an Error text: part repeats the server’s error
Failed to parse content manifest: ... - see the console log for detailsThe server’s answer was not valid JSON
Couldn't load resource <name>: <error>A resource could not be mounted
Couldn't start resource <name>.A resource downloaded but did not start on the client
Failure downloading <file>: <error>A single file failed to download

The client tries each file up to five times, doubling the pause between tries, before it reports the error. Files come from your server’s TCP endpoint or from a file server set with fileserver_add, so check that target and any proxy in front of it. With sv_httpFileServerProxyOnly enabled, only addresses in sv_proxyIPRanges may use the file server, so players must download through that proxy. Every TCP connection a player opens for downloads also counts toward net_tcpConnLimit, which allows 16 concurrent connections per IP by default.

Stuck on “Connecting to Server” or “Fetching Info From Server”

These two stages are the first UDP traffic of the join: per the Proxy Setup page, the client “sends a UDP info request to the server endpoint”, then “an ENet connect request, as well as a UDP handshake”. Everything before them used TCP, so a server whose UDP port is blocked can pass every earlier stage, downloads included, and stop here.

The client sends getinfo every 5 seconds, adding (attempt N) to the text after the first try. When the attempts run out, it shows Couldn’t connect with “Failed to get info from server (tried 3 times).” and asks the owner: “are you sure you are allowing UDP packets to and from the server?” The Connecting to server... stage works the same way and ends with Failed to connect to server after 3 attempts.

Fixes, in order:

  1. Open UDP as well as TCP on the game port, 30120 by default, in the host firewall and the router. FiveM port forwarding for 30120 has the commands for Windows and Linux.
  2. Check NAT. The Server Issues page warns that a server “behind a NAT or gateway that masks UDP source ports” may not show up; the same UDP traffic carries the join.
  3. Check the endpoint lines. The docs’ examples are endpoint_add_tcp "0.0.0.0:30120" and endpoint_add_udp "0.0.0.0:30120".

Stuck on “Loading Game” or a Game Build Download

Loading game (N%) is the game loading its data. The build check itself runs earlier, right after Requesting server variables... and before the handshake: when the server’s game build, pure level or pool sizes differ from the client’s, the client switches before it goes on, and a build the client does not support fails with Server specified an invalid game build enforcement. Some server settings make the client restart the game before it can join: the docs say that to join servers with different pool sizes the client has to restart, “similarly to how it works with sv_enforceGameBuild and sv_pureLevel”. When the switch to another game build fails, the error starts with Changing game build failed:. Choose the build on purpose; sv_enforceGameBuild and DLC explains the values.

Stuck on “Preloading Collisions”

Every resource whose manifest contains this_is_a_map asks the client to reload the map store. During that reload, the client collects the streamed collision files (.ybn) that are not cached yet and requests them four at a time, showing Preloading collisions (N%). Without a cache file, nta explains on the Cfx forum, the game downloads a map’s collision data “on first join (and then cache it for later use, of course)”.

The client log names each file: a Loaded <file>.ybn (id N) line is written as each file is requested, and Skipped <file> - it's cached! for files it already has. When a player stays at the same percentage, the last Loaded lines in their log name the batch it is waiting on.

Answers in two “stuck at Preloading collisions” threads on the Cfx forum point to the files:

  • Corrupted uploads. In a thread about “Preloading collisions 0%”, nta called it “users corrupting files” and named “setting ‘binary’ transfer mode” for FTP uploads. To an owner who had moved hosts, he answered that “Some files probably got broken while ‘switching’”. Upload the map resources again, in binary mode if you use FTP.
  • One map’s files. The Loaded lines in the player’s log name the .ybn files of the batch the client is waiting on; the resource that ships those files is the one to re-upload or test on its own.

The MLO installation guide covers this_is_a_map, cache files and map conflicts.

Stuck After Loading, or a Black Loading Screen

The Loading Screens docs state the rule: “By default, the loading screen will show until SHUTDOWN_LOADING_SCREEN is called.” When every stage has passed (the log shows Received connectOK, the status reached Awaiting scripts) and the screen still stays, nothing has called it. Which resource should call it depends on the server:

  • Servers without a framework, such as the FiveM Basic Server recipe. The default recipe’s server.cfg ensures mapmanager, chat, spawnmanager, basic-gamemode and hardcap. basic-gamemode turns on auto-spawn when a map starts (onClientMapStart), and spawnmanager’s spawnPlayer calls ShutdownLoadingScreen(). Keep these resources running.
  • Qbox. qbx_core shuts the loading screen down in its character selection. With useExternalCharacters turned on in its config, that code does not run, and your own character resource has to call the shutdown. The Qbox recipe sets setr loadscreen:externalShutdown true, leaving the shutdown to that resource.
  • QBCore. qb-multicharacter calls ShutdownLoadingScreen() and ShutdownLoadingScreenNui().
  • ESX Legacy. esx_multicharacter calls the same two natives; without multicharacter, es_extended calls them once the player has spawned. esx_loadingscreen uses loadscreen_manual_shutdown and closes its own page 2500 ms after the page reports loadingComplete.

A loading screen resource with loadscreen_manual_shutdown 'yes' also needs ShutdownLoadingScreenNui() from a script. How to make a FiveM loading screen explains that pairing and the Qbox convar; FiveCrate also lists FiveM loading screens.

A black screen instead of the loading picture is a different stop. spawnmanager fades the screen out at the start of spawnPlayer, and only at the end calls ShutdownLoadingScreen() and fades back in; in between, it waits in loops, for example until the spawn’s model has loaded. While a spawn is unfinished, the screen behind the loading screen stays faded out. Open F8 and look for script errors from the resource that spawns players.

When the Server Itself Takes Forever to Load

If the server console is still starting resources, players cannot join yet: the handshake answers The server is starting up. The Server Issues page lists one Windows cause of slow startups: Microsoft Defender Antivirus scanning FXServer files. Its fix, in PowerShell run as administrator, with your own path:

Add-MpPreference -ExclusionPath 'C:\FXServer\'

The same page notes that “adding resources to your server increases the startup time” and asks you to check the server console for errors or warnings when startup is unusually long.

FiveM for GTAV Enhanced Differences

The Server Commands page lists variables that exist only on FiveM for GTAV Enhanced:

VariableDefaultEffect
sv_clientConnectingTimeoutMilliseconds60000Time a client has to finish connecting before it is dropped
sv_resourceFileDownloadTimeout120000 (2 minutes)A resource file download over HTTP that has not finished in this time is canceled

On Enhanced, a stream_enhanced folder is loaded instead of stream when it exists, so the collision files come from that folder. Developer mode on the Enhanced client requires sv_devMode true in the server’s server.cfg. The stage texts on this page come from the public citizenfx/fivem source; the Cfx pages used here do not say whether the Enhanced client uses the same wording.

Troubleshooting

Only one player is stuck, everyone else joins

Compare their screen text with the stages above. A player stuck at the Steam step needs to link Steam. On ESX without multicharacter, a player refused with [ESX] There was an error loading your character! and identifier-active shares an identifier with someone already on the server, per the ESX message. If the player is stuck at the same resource every time, ask for their client log.

Everyone is stuck after you added maps or cars

Note the stage. On Downloading <resource>, the line names the resource to test on its own. On Preloading collisions, the last Loaded lines of a player’s client log name the collision files, and so the map, that the client is waiting on.

FiveM stuck on loading screen with no error and no progress

If the last text is a resource name followed by a message, a deferral is open (see above). Search your resources for playerConnecting and check that every path through the handler calls deferrals.done.

The game closes or crashes during loading

A crash is not a hang. Read the crash dialog and the client log, then work through FiveM server keeps crashing.

“Server artifact version is outdated” instead of a loading screen

Cfx.re support says players see this when they connect to an outdated server, and that unsupported server artifacts older than three months cannot be joined from the server browser. Update FXServer.

Next Steps

Browse MLO & interior maps

MLO interiors and maps for FiveM servers: houses, mechanic shops, cafes, restaurants, shops and islands.

Browse catalogue →

Official documentation and repository references