What is the issue you’re having?
Environment
- OS: Windows 11 Pro 26200
- GPU: NVIDIA RTX 4070 Ti (Driver: 32.0.16.1062)
- FiveM Update Channel: Production
- Game Build: Reproduced on b3095 and b3258
- Onset: Started around early-mid June 2026
Summary
The FiveM client appears to leak roughly 2 unique D3D11 view objects per rendered frame without releasing them. The per-device limit of 2^20 (~1,048,576) unique view objects is exhausted after a fixed number of frames, resulting in a hard-crash:
- ExceptionCode: 0xE06D7363 (MSVC C++ throw)
- Thrown object: _com_error, m_hresult = 0x887C0003 (= D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS)
- Faulting frame: KERNELBASE.dll+0xC1B6A (RaiseException)
- Real stack: Pure d3d11.dll Create*View path
FPS-Determined Crash Time (Mathematical Proof)
Because the leak is strictly per-frame, the time-to-crash is purely determined by the rendered FPS: Formula: 2^20 / (2 views/frame × FPS)
- Running at ~239 FPS uncapped → Crashes consistently at ~31 minutes.
- Running at ~187 FPS → Crashes consistently at ~47 minutes.
- Capping FPS proportionally delays the crash (e.g., 60 FPS delays it to ~2.4 hours).
Reproduction & What was ruled out
The issue reproduces on essentially any server (tested on LastCity b3258, Corleone City b3095, and Paradise FreeRoam with zero shared resources). It is not server-resource specific.
- GTA V Vanilla: Story Mode (all ASI mods removed) runs indefinitely at 187 FPS with zero crashes. The base RAGE engine does not leak.
- Local Corruption: Performed a full clean reinstall (deleted entire FiveM.app).
- Mods/Overlays: Cleared
pluginsandmods. Disabled Steam overlay, NVIDIA, Discord, and RivaTuner overlays. - Graphics Settings: Changing MSAA, ReflectionMSAA, or PostFX has no effect on the leak rate.
Candidate areas seem to be a per-frame Create*View in the CitizenFX render hooks, NUI (CEF), scaleform, or rendertarget compositing path.
Crash dumps (.dmp) and CitizenFX_logs are available immediately upon request. Any help or dev insight would be highly appreciated!
Windows version
Windows 11
System specifications
Ryzen 7 5800x3D
GeForce RTX 4070ti
Antivirus software
Windows Defender