FiveM Stuck on Loading Screen: Client and Server Fixes
By Luke
On this page
When FiveM is stuck on the loading screen, first decide whether the cause sits on your PC or on the server. A fault that follows you from server to server is client-side: cache, mods, game files or the launcher. A fault on one server, or for every player after a change, is server-side: a resource that never finishes, a loading screen that never closes or assets the client cannot load. Keep the exact screen text and the first console error, test one known-working server and change one reversible cause at a time. Do not begin with undocumented security convars or a blanket deletion of application and server data.
Classify the failure before changing files
Observed scope
Start here
One player, multiple servers
Client process, official client issue, GTA/FiveM installation and local cache diagnosis.
Stuck on FiveM's own start screen, before any server
Antivirus, launcher authentication files and local game data (listed below).
One player, one server
F8 error, connection path and the first resource or download that fails for that client.
Every player on one server
FXServer/txAdmin console, recent deployment, resource startup and database/dependency health.
Only after a custom loading screen change
Loading-screen manifest, browser console and manual-shutdown lifecycle.
If the screen shows a numbered error or exit code, look it up in the FiveM error codes and fixes guide first. If the client leaves the loading screen with a timeout or a refused connection instead of hanging, follow the failed-connection diagnosis.
Client-side checks
Record the exact server, time, loading text and any visible error.
Press F8 and capture the first relevant error rather than the repeated lines that follow it. Cfx.re documents F8 in its client console reference.
Restart FiveM and Windows once to release locked processes.
If evidence points to cached server assets, use the reversible procedure in the FiveM cache guide. Do not delete the whole application-data directory.
Stuck states that Cfx.re documents
As of 24 November 2026, the Cfx.re client-issues page and support articles name these client-side cases:
Stuck on "Starting FiveM, we're getting there": often caused by aggressive antivirus settings. Cfx.re asks you to submit a support ticket about the antivirus.
Stuck on a rotating splash screen: delete %appdata%\citizenfx\ros_id.dat and %localappdata%\digitalentitlements.
Stuck on a coloured background but no menu: Cfx.re says this happens on specific older AMD laptop GPUs and is caused by CEF, not by FiveM, and links a forum thread that may help.
Opening database (privcache:/) failed: IO error: could not lock file: a stuck process or antivirus holds a lock on a file, or the file sits in a directory that needs administrator rights. The support article lists three steps: restart the PC, disable the file lock in the antivirus, and find the locking process in Windows Resource Monitor by searching the CPU tab's associated handles for server-cache-priv.
"Game data outdated: FiveM needs to update the local game data": accept the update and restart FiveM. If it persists, check that the IVPATH= line in CitizenFX.ini (in %localappdata%/FiveM/FiveM.app) points to your GTA V installation, as described in the game storage article.
"Client/Server game build revision mismatch": Cfx.re calls this usually temporary and tied to update releases. If it persists, set the update channel in the FiveM settings (Release, Beta or Latest) to the one the server uses, restart, and otherwise contact the server owner (support article).
Mods and game files
A server can set sv_pureLevel to block modified client files: level 1 blocks all modified client files except audio files and known graphics mods, level 2 blocks all of them. Modified files placed in the FiveM folder are ignored. A player who modified base game files gets an error message that names the modified file, so restore the original file the message names. On FiveM for GTAV Enhanced, pure mode is always on and, while Enhanced is in early access, graphics mods cannot be used (server-command reference).
Server-side checks
Freeze deployments and export the relevant FXServer/txAdmin log around one failed connection.
Check whether the problem started immediately after a resource, artifact, configuration or database change.
Use txAdmin's Live Console and resource controls to identify the first failed dependency. txAdmin is bundled with FXServer and its current monitoring features are documented in the official txAdmin guide.
Verify required services and database access without printing credentials.
Roll back the last owned change or disable only the isolated resource on a development instance.
Check resource startup and dependencies
A resource can stall onboarding when it waits forever for an export, database result, framework object or client event. Review the server log for “could not find dependency”, parse errors and timeouts. Make startup order explicit with dependency in fxmanifest.lua or a correct ensure sequence; do not hide the failure with arbitrary sleeps. For console messages about a resource that will not start, the FiveM resource won't start guide lists causes by message.
On a development server, refresh rescans manifests and ensure resource-name starts or restarts one resource. These commands are defined in the official server-command reference. Avoid restarting a production dependency without understanding which active sessions use it.
Cfx.re documents two server messages with one cause: Error parsing script and Failed to load script can be caused by out-of-date server artifacts, and the fix is to update to the latest recommended version (support article). On Windows servers, Microsoft Defender can slow server startup by scanning the FXServer files, and the server-issues page shows the exclusion command. It also notes that every added resource increases startup time.
If a playerConnecting handler calls deferrals.defer(), make sure every code path ends in deferrals.done(). The event reference defines done as the call that finalizes the deferral and, without a failure reason, lets the player connect.
Assets the client cannot load
Clients download only what the manifest names. In the resource manifest reference, file adds a file to the resource packfile that clients download, client_script adds its script implicitly, a ui_page file and its dependencies have to be referenced with files, and the data_file example lists each meta or audio file under files as well. After renaming or moving files, compare every path in files, data_file, ui_page and loadscreen with what is on disk.
On FiveM for GTAV Enhanced, a resource with a stream_enhanced folder has that folder's contents loaded instead of stream, so a stream_enhanced folder that holds only some of the assets is incomplete for Enhanced clients. The same documentation lists sv_resourceFileDownloadTimeout as a new configuration variable for Enhanced: the timeout for downloading resource files over HTTP (default 2 minutes, after which the download is canceled), which very large files on a slow web host can run into (what changed in Enhanced).
A change of sv_enforceGameBuild takes effect only at startup. The server-command reference says that with sv_replaceExeToSwitchBuilds set to true, the default for server builds below 12872, the client downloads all files for the requested game build and runs the older game executable, and it notes, under increase_pool_size, that clients restart the game to join a server with a different game build or pure level. A first connection after a build change can therefore involve a download and a game restart; allow for that before you call it a hang.
Custom loading-screen failures
If the game is ready but a custom screen never closes, inspect whether the resource uses loadscreen_manual_shutdown 'yes'. That mode keeps the loading-screen NUI open after the game data has loaded, so a client script must call ShutdownLoadingScreenNui() after a real ready condition; the docs say the native becomes available once scripts start, after game load and connection to the network. If a client script errors out or waits for an event that never arrives before that call, nothing closes the screen. Remove the manual-shutdown directive to return to automatic behaviour while debugging.
To see how far the client got, let the loading-screen page listen for the events the docs list. They arrive as message events with an eventName: loadProgress carries the loading fraction from 0 to 1, onLogLine logs the initialization of resources, and initFunctionInvoking names the init function being run. Printing the last values on the page shows the last step reached. A loadscreen can be a local HTML file, which must be listed with file, or an absolute URL, which should answer in a normal browser. The supported lifecycle and events are documented in the Cfx.re loading-screen guide.
Avoid unsafe generic fixes
Do not copy undocumented sv_* security values from an unrelated error guide.
Do not disable antivirus or firewall protection permanently.
Do not delete a live database, txAdmin data directory or complete FiveM installation before preserving a backup.
Do not add repeated client retries that grant items, money or permissions more than once.
Do not call a longer loading timeout a fix when the underlying resource still fails.
Verify the repair
Repeat the same connection on the affected client, a clean second client and after a full server restart. Confirm that the first console error is gone, the player reaches a usable state, required resources started once and no duplicate entitlement or inventory action occurred. Keep the rollback until the result survives the restart.
For a FiveM crash, save the exact crash message and identify when it happens: before launch, while joining or during a specific action. Change one relevant cause at a time and test the same situation again.
Resmon shows client resource execution cost and memory signals. Use it to identify a script worth investigating, then reproduce the same action with the profiler. It does not measure server database time, download speed or total GPU rendering cost.