FiveM crashing randomly... RAGE error: ERR_GEN_ZLIB_2

GTA V version? Unsure, 5 Latest update
Up to date? yes
Legit or Pirate copy? Legit
Steam/CD/Social Club? Steam
Windows version? 10
Did you try to delete caches.xml and try again? Yes
Error screenshot (if any) https://imgur.com/a/nXR2W
System specifications Win 10, 8GB Ram, Intel Core i5-6400T
What did you do to get this issue? Joined a server
What server did you get this issue on? NYSDOJRP (nysdojrp.com - ip on the bottom of the site page)
CitizenFX.log file https://hastebin.com/mizokalaru.erl
.dmp files/report IDs

[Window Title]
FiveM Error

[Main Instruction]
RAGE error: ERR_GEN_ZLIB_2

[Content]
A game error (at 00000001412365cf) caused FiveM to stop working. A crash report has been uploaded to the FiveM developers.
If you require immediate support, please visit FiveM.net and mention the details below.

Failed zlib call. Please reboot, verify the game data, or reinstall the game. For more information, please visit: http://rsg.ms/verify

[^] Hide details [Close]

[Expanded Information]
Crash signature: gta-core-five.dll+2227B
Report ID: uploaded! (use Ctrl+C to copy)

Also, add what you already tried so far.

Cleared the cache, had the problem before that but clearing the cache fixed it for a few hours… 1-2

If I recall correctly, this is caused by a poor quality model. This is not known to be a client issue, as models are streamed server side. You should have no issues playing on other servers.

So, just wondering if I were at a specific part of the map could that cause it?

If you’ve changed vehicle assets while the server is still online with players in it, it will do this for those players that download the new asset while they have the other one cached. Players joining the server have the same affect.

Not sure if other assets such as peds, objects, maps, etc will do the same.

Funny thing is it can also be caused by models with too high quality textures :joy:

1 Like

I looked at the CitizenFX logs immediately after each crash, discovered that some of the custom vehicles were causing this error. Kept removing each one that spawned right before the crash until the ZLIB_2 errors stopped.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.