Guide
FiveM crashing? Every cause and how to fix it
Every FiveM crash shows a message. Look at the file name or code in it, then find the matching cause on this page. Every cause comes from the crash helper in Savenz Optimizer.
Read the crash message first
When FiveM crashes it opens a window with a file name such as gta-net-five.dll or a code such as ERR_GFX_D3D_INIT. Copy that text. The cause that matches that name or code is the one to fix first.
Buttons and pages named here, such as the Fixes or Uninstaller page, are in Savenz Optimizer.
Fix it on your PC
An overlay crashed the game
A program that draws on top of games loaded its file into FiveM (named below), and that file crashed it.
- Turn off that program's in game overlay, or close it before you play.
- Recording FiveM: use OBS "Display Capture" instead of "Game Capture".
Security software hooked the game
An antivirus or sandbox loaded its own file into FiveM (named below), and that file crashed it.
- Update that security program and turn on its game mode.
- If it keeps happening, ask its support how to keep it out of FiveM. Microsoft Defender, which comes with Windows, works with FiveM.
Sound software crashed the game
Nahimic (sound effects that come with MSI, Dell, Alienware and other PCs) loads an overlay into games and is a well known cause of FiveM crashes.
- Uninstall Nahimic on the Uninstaller page and restart the PC. Your sound keeps working without it.
Problem with a sound device
The game's sound engine failed, usually because of the sound output Windows gave it.
- In Sound settings, set your headset or speakers as the default device.
- Disable outputs you don't use (monitor speakers, digital outputs, virtual cables).
- Turn off spatial sound (Windows Sonic, Dolby Atmos) for the device you play on.
The game ran out of memory
Windows could not give FiveM more memory. This happens when the paging file is off or too small (a common tweak), when the RAM is nearly full, or on very heavy servers.
- Turn the paging file back on ("System managed"), then restart the PC.
- Close Chrome and other heavy programs before you play.
- Lower Texture Quality and turn off Extended Texture Budget in FiveM's settings.
The graphics card or its driver stopped
FiveM lost the graphics card: the driver crashed or reset, the card was pushed too hard (overclock or undervolt), or it ran out of video memory.
- Undo any GPU overclock or undervolt (MSI Afterburner, Radeon tuning) and test at stock speeds.
- Update the graphics driver (a clean install).
- Turn off Hardware accelerated GPU scheduling in Windows' graphics settings, then restart the PC.
- Give the card more time before Windows resets it: Longer GPU timeout on the All graphics cards page.
- On cards with 4 GB of video memory or less, lower Texture Quality.
- Close programs that draw over games (RivaTuner, recording tools).
- Still crashing: check the card's temperature and that its power cables sit firmly.
GTA V's game files are damaged or changed
The game could not read one of its own data files.
- Verify GTA V's files in the launcher you bought it on (Steam: Library > GTA V > Properties > Installed Files > Verify).
- Remove single player mods from the GTA V folder: the mods folder, dinput8.dll, ScriptHookV.dll and .asi files.
Downloaded server files are broken
Files FiveM downloaded from the server (cars, maps, clothes) are damaged or could not be loaded.
- Clear the FiveM cache, then join again.
- If it happens on one server only, the server has a broken file: tell its staff.
- If it happens on many servers even after clearing, unstable RAM can damage downloads: test without XMP / EXPO.
FiveM's built in browser crashed
The part of FiveM that draws menus, the phone and the HUD (a built in Chrome) crashed.
- Clear the FiveM cache.
- Update the graphics driver.
- Close other programs that use a lot of memory or graphics power.
A secure connection failed
FiveM's secure connections fail when the PC's clock or time zone is wrong, or when another program inspects HTTPS traffic.
- Fix the clock: Fixes > "Turn time sync back on", and "Set up Thai" for the Bangkok time zone.
- Turn off HTTPS or web scanning in a third party antivirus, and close VPN or proxy programs.
FiveM couldn't reach its own servers
FiveM could not reach Cfx.re's services (sign in, server list, downloads).
- Check that the internet works in a browser.
- Try another DNS (Network page > DNS speed test) and close VPN or proxy programs.
- Allow FiveM in a third party firewall. Cfx.re's services can also be down for a while.
The connection to the server dropped
Your PC stopped hearing from the server. Packet loss, Wi Fi lag spikes or the server itself can cause it.
- Run the ping check on the Network page and look at loss and jitter.
- Use a cable instead of Wi Fi if you can, and restart the router.
- If other players dropped at the same time, the server had a problem.
The game crashed inside FiveM's game loop
gta-net-five.dll and net.dll are the parts of FiveM that run the game every frame, not your internet. The crash came from GTA V's own code in that loop, so the text alone names no single cause. Most often it is a broken download from the server (cars, maps, clothes) or an unstable PC.
- Clear the FiveM cache, then join again.
- Crashes near modded cars or on one server only: tell that server's staff the crash code. Its files or its game build (the b number in the crash text) can cause it.
- Verify GTA V's files.
- Turn off overlays and recording tools.
- Undo CPU and RAM overclocks (XMP / EXPO) for a test, and update the motherboard BIOS and chipset driver: players fixed this crash that way.
The drive is full
FiveM needs free space for its cache and the files servers send.
- Free some space on the drive with FiveM and GTA V (Cleaner, Uninstaller). Keep at least 20 GB free.
Not your PC (the server or your account)
The server hit one of the game's limitsNot your PC
The server spawns more of something (vehicles, props, peds) than the game allows at once. This is a server problem, not your PC.
- Tell the server's staff the error and the pool name in it. They can raise the limit in the server's settings.
- Rejoin later or try another server.
A server script crashed the gameNot your PC
The crash came from the server's own scripts (Lua or JavaScript), not from your PC.
- Tell the server's staff the crash code shown above.
- Clear the FiveM cache once. If it keeps happening on that server only, it is theirs to fix.
The server blocks changed game filesNot your PC
This server only allows a clean game. Mods, ReShade or other added files were found.
- Remove mods from the GTA V folder (the mods folder, .asi files, dinput8.dll).
- Remove ReShade and other files from FiveM's plugins folder, then start FiveM again.
The server needs Steam or Discord openNot your PC
The server identifies players by their Steam or Discord account, and FiveM could not get it.
- Start Steam and / or Discord and sign in before you open FiveM, then join again.
You are bannedNot your PC
The server or Cfx.re blocked your account. The message says who did it and why.
- Read the reason and the ban ID in the message.
- A server ban: ask that server's staff. A Cfx.re ban: only Cfx.re can review it.
The server removed youNot your PC
The server kicked you. The reason is in the message.
- Read the reason in the message and ask the server's staff if it is unclear.
Rockstar sign in or game check failedNot your PC
FiveM checks that you own GTA V through your Rockstar account, and that check failed.
- Open the Rockstar Games Launcher (and Steam or Epic if GTA V is from there), sign in, and start GTA V story mode once.
- Keep the launcher up to date and the PC's clock correct.
- Still crashing (FiveM_ROSService): close FiveM, press Clear Rockstar sign in files (%LocalAppData%\DigitalEntitlements goes to the Recycle Bin, FiveM makes it again) and start FiveM.
Not sure which one it is
The text does not point to one clear cause. These steps fix most FiveM crashes. Try them in this order:
- Clear the FiveM cache.
- Update the graphics driver.
- Turn off overlays (Discord, Steam, NVIDIA, RivaTuner) and recording tools.
- Make sure the paging file is on.
- Undo CPU, GPU or RAM overclocks (XMP / EXPO) if you use them.
- Verify GTA V's files.
- Still crashing: send the crash code and the "Copy report" text to the server's staff or the Cfx.re forum.