Crash/Freeze
Fortnite
Fortnite PC - Crash to Desktop at "Connecting" Screen Fix Guide
🎯 Quick Answer
Delete the corrupted DirectX 12 Shader Pipeline Cache file located at `C:\Users\[USERNAME]\AppData\Local\FortniteGame\Saved\FortniteGame_PCD3D_SM6.upipelinecache`.
SECTION 1: OVERVIEW
This error constitutes a fatal application crash during the Fortnite client initialization sequence on the Windows platform. The failure occurs specifically during the creation of a Direct3D 12 (D3D12) Ray Tracing state object, which is a required data structure for the game's graphics pipeline. The crash manifests immediately after the game completes its supervised settings download and JSON data synchronization, at the point where the "Connecting" screen is displayed. The primary error code isE_INVALIDARG (0x80070057), indicating an invalid parameter was passed to the ID3D12Device5::CreateStateObject API call. This issue is classified as an occasional but game-breaking failure, as it prevents the application from launching entirely. The error is documented in game log files with the exact signature: RayTracingDevice->CreateStateObject(...) failed at D:\build\++Fortnite\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12RayTracing.cpp:663 with error E_INVALIDARG.
SECTION 2: SYMPTOMS
The application launches normally and proceeds through the initial "Downloading Supervised Settings" phase. Upon completion of this phase, the final "Connecting" screen appears. The application then terminates abruptly, typically within 1-3 seconds. The system presents the standard Epic Games crash reporter dialog with the message "Fortnite has crashed! Send Crash Report?". No in-game menus or environments are loaded. Examination of the game's log file (FortniteGame.log) confirms the crash occurs after the log entry "Sparks catalog updated" and is immediately followed by the D3D12 state object creation error. The process FortniteClient-Win64-Shipping.exe exits with a non-zero code.
SECTION 3: COMMON CAUSES
Category: Configuration Error Specific technical explanation: A corrupted or invalidated DirectX 12 Shader Pipeline Cache file (FortniteGame_PCD3D_SM6.upipelinecache). This file contains pre-compiled shader state objects. If this cache becomes desynchronized from the current game version or GPU driver, the engine attempts to load invalid data, resulting in the E_INVALIDARG error during state object creation.
Category: Software Conflict
Specific technical explanation: Incompatible or corrupted Microsoft DirectX 12 runtime components. The D3D12 runtime is responsible for managing GPU resources. Missing or damaged system-level DLLs (e.g., d3d12.dll, dxil.dll) cause the underlying API calls to fail.
Category: Game Bug
Specific technical explanation: A game update introducing a change to the ray tracing or shader compilation pipeline that is incompatible with cached shader data from a previous version. The engine fails to properly invalidate the old cache, leading to a crash on load.
Category: Hardware Issue
Specific technical explanation: GPU hardware or driver that does not fully support the specific DirectX 12_2 feature level or ray tracing tier required by the game's current configuration, despite previous successful operation. A driver update may have altered feature reporting.
Category: Configuration Error
Specific technical explanation: Incorrect or corrupted game user settings within the GameUserSettings.ini file, specifically the r.D3D12.RayTracing or related graphics settings that force an incompatible rendering path on launch.
Category: Software Conflict
Specific technical explanation: Third-party application interference, such as overlay software (Discord, Xbox Game Bar), screen recording tools, or GPU utilities that hook into the DirectX API, injecting code that modifies the parameters of the CreateStateObject call.
SECTION 4: SOLUTIONS
Solution 1: Delete Corrupted Pipeline Cache
Difficulty: Easy Time Required: 2 minutes Success Rate: High Prerequisites: None Steps:- Ensure the Fortnite application is fully closed. Verify via Task Manager that no processes named
FortniteClient-Win64-Shipping.exeorEpicGamesLauncher.exeare running. - Open Windows File Explorer and navigate to the following directory, replacing
[USERNAME]with your Windows account name:C:\Users\[USERNAME]\AppData\Local\FortniteGame\Saved\ - Locate the file named
FortniteGame_PCD3D_SM6.upipelinecache. - Select the file and press
Shift + Deleteon your keyboard to permanently delete it, or move it to a backup location outside the Saved folder. - Launch Fortnite normally through the Epic Games Launcher. The game will generate a new, valid pipeline cache file during the initial loading sequence.
E_INVALIDARG error.
Verification:
The game progresses past the "Connecting" screen and successfully loads the lobby. A new FortniteGame_PCD3D_SM6.upipelinecache file will be created in the Saved directory with a recent timestamp.
Solution 2: Verify and Repair Game Files
Difficulty: Easy Time Required: 5-15 minutes Success Rate: Medium Prerequisites: Epic Games Launcher installed Steps:- Open the Epic Games Launcher.
- Navigate to your Library and locate Fortnite.
- Click the three dots (
...) under the Fortnite tile and select Manage. - Click the Verify button. This initiates a process where the launcher compares your local game files with the official manifest and downloads any missing or corrupted files.
- Allow the verification and repair process to complete, then restart the launcher and attempt to launch the game.
FortniteGame.log file for the absence of the E_INVALIDARG error.
Solution 3: Update Graphics Drivers
Difficulty: Easy Time Required: 10 minutes Success Rate: Medium Prerequisites: Internet connection, administrator rights Steps:- Identify your GPU model by pressing
Windows Key + R, typingdxdiag, and pressing Enter. Navigate to the Display tab. - For NVIDIA GPUs: Visit [nvidia.com/drivers](https://www.nvidia.com/drivers) and use the automatic detection tool or manually select your product. Download and install the latest Game Ready Driver, choosing the "Custom (Advanced)" installation and selecting "Perform a clean installation."
- For AMD GPUs: Visit [amd.com/support](https://www.amd.com/support) and use the auto-detect tool or manually select your product. Download and install the latest Adrenalin Edition driver, using the "Factory Reset" option during installation.
- For Intel Arc GPUs: Visit [intel.com/download](https://downloadcenter.intel.com/) and search for your graphics model. Install the latest DCH driver.
- After installation, restart your computer and attempt to launch Fortnite.
Solution 4: Reset Graphics Configuration to Defaults
Difficulty: Easy Time Required: 3 minutes Success Rate: Medium Prerequisites: None Steps:- Navigate to the Fortnite user configuration directory:
C:\Users\[USERNAME]\AppData\Local\FortniteGame\Saved\Config\WindowsClient\. - Locate the file
GameUserSettings.ini. - Rename this file to
GameUserSettings.ini.backup. - Launch Fortnite. The game will generate a new configuration file with all default settings, including safe, auto-detected graphics options.
GameUserSettings.ini may contain invalid or overly aggressive graphics settings (e.g., forcing Ray Tracing on an unsupported configuration) that are passed to the D3D12 initialization routine, causing the CreateStateObject call to fail. Resetting to defaults ensures a compatible baseline configuration.
Verification:
A new GameUserSettings.ini file is created upon launch. The game starts with default video settings, and the crash does not occur.
Solution 5: Perform a Clean Boot to Isolate Software Conflicts
Difficulty: Medium Time Required: 10 minutes Success Rate: Medium Prerequisites: Administrator access Steps:- Press
Windows Key + R, typemsconfig, and press Enter to open System Configuration. - Navigate to the Services tab. Check the box labeled Hide all Microsoft services, then click Disable all.
- Go to the Startup tab (or open Task Manager > Startup tab in Windows 10/11) and disable all startup items.
- Click OK and restart your computer when prompted.
- After booting into the clean environment, launch only the Epic Games Launcher and attempt to run Fortnite.
- If the game launches successfully, re-enable services and startup items in groups to identify the conflicting software.
Solution 6: Reinstall Microsoft Visual C++ Redistributables and DirectX
Difficulty: Advanced Time Required: 10 minutes Success Rate: Low Prerequisites: Administrator access, internet connection Steps:- Press
Windows Key + R, typeappwiz.cpl, and press Enter to open Programs and Features. - Uninstall all instances of Microsoft Visual C++ Redistributable (both x86 and x64) from recent years (2015-2022).
- Download the latest Visual C++ Redistributable package from the official Microsoft website. Install both the x86 and x64 versions.
- While not typically a standalone install for Windows 10/11, you can run the DirectX End-User Runtime Web Installer as an additional measure. Download it from Microsoft and follow the prompts.
- Restart your computer and launch Fortnite.
SECTION 5: PREVENTION
To prevent recurrence, implement a regular maintenance routine. Before applying major game updates or GPU driver updates, manually delete theFortniteGame_PCD3D_SM6.upipelinecache file as a precautionary measure. Configure the Epic Games Launcher to verify game files automatically after each update. Maintain a disciplined GPU driver update schedule, opting for clean installations when possible. Periodically review the FortniteGame.log file after updates to check for early warning signs of rendering errors. Avoid modifying graphics configuration files manually unless necessary, and always create backups before doing so.
SECTION 6: WHEN TO CONTACT SUPPORT
Contact Epic Games Support if all documented solutions fail and theE_INVALIDARG error persists. Prior to contact, gather the following diagnostic information: the full FortniteGame.log file from C:\Users\[USERNAME]\AppData\Local\FortniteGame\Saved\Logs, your DxDiag report (dxdiag /t dxdiag.txt), and a detailed description of the steps already attempted. Provide your system specifications, including GPU model, driver version, and Windows build number. Official support channels are accessible via the Epic Games Help section at [epicgames.com/help](https://www.epicgames.com/help).