KNOWN ISSUE: "E_INVALIDARG, assert: shader" Crash After Expeditions Update

We’re looking in to a shader-related crash which is occurring for some players after the Expeditions update.

The error produced in the crash reporter when this occurs will look similar to:

[Engine Error]: HRESULT: 0x80070057 = E_INVALIDARG, assert: shader ‘#ID[8860321b]’`

Once we have updates to share, we’ll let you know in the comments below and link the posts here.

UPDATE 18/03

UPDATE 19/03

UPDATE 26/03

2 Likes

Issue Type (Required):

Other

Issue Description (Required):

normal start from launcher and then on second black screen and game crashed

[PC] Do You Use Mods? (Optional):

No, I don’t use mods

Platform (Required):

PC - Steam

[PC] Crash Report (Optional):

GUID: 617a39e4-9e35-4ed4-ae69-6536cd5b3f82
Log File:
Info Type:

[Engine Error]: HRESULT: 0x80070057 = E_INVALIDARG, assert: shader '#ID[8860321b]'

At D:\a\d\e2af82edaa31c93c6098ffbd561125ed\b0be1561439953a6\stingray\runtime\d3d12_render_device\d3d12_debug.cpp:1570 in function stingray::aftermath::d3d_assert


2 Likes

Sorry to see this. Firstly, do you have any parameters set in Darktide’s ‘Launch Options’ as outlined here?:

Crashing on Launch After Expeditions Update?

hello, sorry for jumping in convo, but i have the exact same crash ( crash link –> crashify://2eba7cec-bc1d-4b0e-b16e-abb35bfb3b77 ), so i checked parameters in steam, and its empty, so problem seems to be not there…

i didnt have any side mods for this game, tried to verify file integrity twice, didnt help

Please create a separate post in Warhammer 40,000: Darktide > Technical Support :pray:

1 Like

Have you tried rebuilding shaders? Error message looks like shaders related.

According to AI:

To rebuild shaders in Darktide and fix stuttering or crashing, you must delete the shader cache files located in your AppData folder. Type %appdata% into the Windows search bar, navigate to Roaming\Fatshark\Darktide, and delete the shader_cache and compiled_shaders folders. Restarting the game will force a fresh rebuild.

Steps to Rebuild Darktide Shaders

  1. Close the Game: Ensure Darktide is not running.

  2. Locate Cache Files: Press Windows Key + R, type %appdata%, and hit Enter.

  3. Navigate: Go to AppData\Roaming\Fatshark\Darktide.

  4. Delete Folders: Delete the shader_cache and compiled_shaders folders.

  5. Restart Game: Launch Darktide, and it will re-compile the shaders during the loading screen

1 Like

Could you please correct the article:

https://support.fatshark.se/hc/en-us/articles/34694807089565-Crashing-on-Launch-After-Expeditions-Update

@gideon404 confirmed that the maximum value of the parameter is 2048. I confirm that the game launches and runs correctly with this parameter set to 2048. Most problems with launching the game occur when the parameter is set to a higher value.

1 Like

Nah, didnt help

No

Thanks for checking - I’ve escalated this with the team.

1 Like

Issue Type (Required):

Error - (Other)

Issue Description (Required):

Latest update. Normal start from steam launcher and then on second - instant drop out and game crashed, no black screen or anything…
i didnt have any side mods for this game, tried to verify file integrity twice, didnt help, checked steam parameters set for game, there none of them…

[PC] Do You Use Mods? (Optional):

No, I don’t use mods

Reproduction Rate (Required):

Once

Platform (Required):

PC - Steam

Player ID (Optional):

loonechkaa

[PC] Crash Report (Optional):

GUID: 2eba7cec-bc1d-4b0e-b16e-abb35bfb3b77
Log File:
Info Type:

[Engine Error]: HRESULT: 0x80070057 = E_INVALIDARG, assert: shader '#ID[8860321b]'

At D:\a\d\e2af82edaa31c93c6098ffbd561125ed\b0be1561439953a6\stingray\runtime\d3d12_render_device\d3d12_debug.cpp:1570 in function stingray::aftermath::d3d_assert


1 Like

Have you tried rebuilding shaders? Error message looks like shaders related.

According to AI:

To rebuild shaders in Darktide and fix stuttering or crashing, you must delete the shader cache files located in your AppData folder. Type %appdata% into the Windows search bar, navigate to Roaming\Fatshark\Darktide, and delete the shader_cache and compiled_shaders folders. Restarting the game will force a fresh rebuild.

Steps to Rebuild Darktide Shaders

  1. Close the Game: Ensure Darktide is not running.

  2. Locate Cache Files: Press Windows Key + R, type %appdata%, and hit Enter.

  3. Navigate: Go to AppData\Roaming\Fatshark\Darktide.

  4. Delete Folders: Delete the shader_cache and compiled_shaders folders.

  5. Restart Game: Launch Darktide, and it will re-compile the shaders during the loading screen

hello, while following steps, i checked 4th one in these folders, and from “ shader_cache and compiled_shaders folders “ i have only shader_cache.hans one, so the second one in some other folder? Sorry, im very far away in my knowledge from correcting this kind of errors

Seems like it has changed overtime. Let me ask AI or google it for you :slight_smile: Will edit this post soon.

To clear shader cache created by Darktide, you can remove following files in %appdata%\Fatshark\Darktide:

  • shader_cache.hans

  • shader_library.pso_lib

  • state_stream_library.pso_lib

After starting the game, the files should be recreated.

1 Like

Hey loonechkaa, which GPU model do you have? I only see AMD Radeon(TM) Graphics, with no model number, which would conventionally be an integrated GPU.

AMD Ryzen 5 5600U with Radeon Graphics by AuthenticAMD, i have this one only, and before update it was enough to play on a low graphics w/o any crashes

Hmmm, I am surprised it worked without issue before admittedly! Could you try this?:

Step 1: Disable Steam Cloud Saving

If Steam Cloud saving is enabled for Darktide, this may automatically restore the AppData and consequently cause the issue to resurface.

  1. Navigate to your Steam library
  2. Right-click Darktide
  3. Select ‘Properties’
  4. On the ‘General’ tab, scroll down to ‘Steam Cloud’
  5. Disable ‘Keep game saves in the Steam Cloud for Warhammer 40,000: Darktide’

Step 2: Delete AppData

NOTE: By deleting your AppData, operative loadouts and custom keybindings will be reset. You may wish to make a back-up of the directory in the event deleting your AppData does not work to resolve the issue.

  1. Press the Windows key + R
  2. Enter %appdata% within the search input and select ‘OK’
  3. Navigate to: AppData\Roaming\Fatshark
  4. Delete the entire ‘Darktide’ directory

Step 3: Verify Integrity of Game Files

You will then need to use the ‘Verify Integrity of Game Files’ option, which is accessible via the Steam client and will ensure the installation is complete.

  1. Right-click Darktide in your Steam library sidebar
  2. Select ‘Properties’
  3. Select the ‘Local Files’ tab
  4. Select the ‘Verify Integrity of Game Files’ button
  5. When complete, close and reopen Steam
1 Like

i deleted them from folder and launched game again, nothing changed at all… same crash, same error code and etc…

Decided to consolidate these reports so it’s easier to keep you updated (I know I told you to share your post separately loonechkaa, my apologies!). Anyway, our Engine Developers are looking in to this - I’ll keep you posted.

Same here. I’ve even tried reinstalling everything but nothing helped.
So … no new game mode for me :slight_smile:
Great (as always).

Report below:

GUID: 04e06e78-6384-42fb-b00d-6cd245977f87
Log File:
Info Type:

[Engine Error]: HRESULT: 0x80070057 = E_INVALIDARG, assert: shader '#ID[8860321b]'

At D:\a\d\e2af82edaa31c93c6098ffbd561125ed\b0be1561439953a6\stingray\runtime\d3d12_render_device\d3d12_debug.cpp:1570 in function stingray::aftermath::d3d_assert