Page MenuHomeFeedback Tracker

Long mod/addons directory paths trigger crash w/ shader error upon running PeerTool
Reviewed, NormalPublic

Description

Please provide the following when creating the Ticket:

Game Version number: 1.3.0.170
Modded?: Yes
If modded, please list the mods: Mercenary Outlands (MO), Randomized Loadout Manager (RLM)

Issue Description:

14:26:37.489 PROFILING    : Settings changed took: 0.781000 ms
14:26:37.535 AUDIO        : PulseAudio Output
14:26:37.537 RENDER       : RENDER       : Reload shaders
14:26:37.537  RENDER       : Enfusion shader version 170
14:26:37.594 ENGINE    (F): Crashed
14:26:37.609 RENDER    (E): Can't load shader binary 'system/.shadercacheDX12/postprocess/dofadvanced/cs_dofadvanced_downsample$FFX_HALF$0$FLICKER_REDUCTION$MIP_COUNT$0$SEPARATE_COC.cso'.
14:26:37.609 RENDER    (E): Can't load shader binary 'system/.shadercacheDX12/postprocess/dofadvanced/cs_dofadvanced_downsample$FFX_HALF$0$FLICKER_REDUCTION$MIP_COUNT$2$SEPARATE_COC.cso'.
14:26:37.609 RENDER    (E): Can't load shader binary 'system/.shadercacheDX12/postprocess/dofadvanced/cs_dofadvanced_downsample$FFX_HALF$0$FLICKER_REDUCTION$MIP_COUNT$1$SEPARATE_COC.cso'.
14:26:37.609 RENDER    (E): Can't load shader binary 'system/.shadercacheDX12/postprocess/dofadvanced/cs_dofadvanced_downsample$FFX_HALF$1$FLICKER_REDUCTION$MIP_COUNT$0$SEPARATE_COC.cso'.
14:26:37.609 RENDER    (E): Can't load shader binary 'system/.shadercacheDX12/postprocess/dofadvanced/cs_dofadvanced_downsample$FFX_HALF$1$FLICKER_REDUCTION$MIP_COUNT$2$SEPARATE_COC.cso'.
14:26:37.609 RENDER    (E): Can't load shader binary 'system/.shadercacheDX12/postprocess/dofadvanced/cs_dofadvanced_downsample$FFX_HALF$1$FLICKER_REDUCTION$MIP_COUNT$1$SEPARATE_COC.cso'.

This crash occurs in PeerTool when my mod project folder is named RandomizedLoadoutManager but does not occur when it is named RLM

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Linux x64
Operating System Version
OpenSUSE Tumbleweed
Category
General
Steps To Reproduce
  1. Create a mod with a really long path
  2. Try running PeerTool and observe crash on loading shaders

Event Timeline

wyqydsyq created this task.May 13 2025, 8:42 AM

Update:

After further investigating I found the same error occurs when running PeerTool in the utility mod (RLM) directly. This mod is nothing more than a single new class and some new prefabs. No overrides or anything, so this should not be possible.

I copy-pasted the entire project source into a newly created project and everything works fine. So it seems quite apparent that there is nothing wrong with my mod source, WB is just straight up cooked and sometimes will randomly create a corrupted project that cannot be used with PeerTool.

See attached video, first example is a brand new project that I copied the entire mod source into, works fine. Second example is the original WITH THE EXACT SAME SOURCE but causes PeerTool to immediately crash with shader error.

wyqydsyq renamed this task from Depending on a local mod breaks PeerTool shader loading to Workbench randomly creates projects corrupted projects that cause crash w/ shader error upon running PeerTool.May 13 2025, 10:46 AM
wyqydsyq renamed this task from Workbench randomly creates projects corrupted projects that cause crash w/ shader error upon running PeerTool to Workbench randomly creates corrupted projects that crash w/ shader error upon running PeerTool.
wyqydsyq added a comment.EditedMay 13 2025, 11:31 AM

After some assistance digging into this issue on Discord from reyhard, it turns out this problem is due to the long path the original mod had.

The path for my WB addons dir is:

/home/yeet/SteamLibrary/steamapps/compatdata/1874910/pfx/drive_c/users/steamuser/Documents/My Games/ArmaReforgerWorkbench/addons

With the mod folder being named Randomized Loadout Manager or RandomizedLoadoutManager it breaks, if I rename the folder to RLM it works fine.

/home/yeet/SteamLibrary/steamapps/compatdata/1874910/pfx/drive_c/users/steamuser/Documents/My Games/ArmaReforgerWorkbench/addons/Randomized Loadout Manager/addon.gproj 167 characters <- does not work
/home/yeet/SteamLibrary/steamapps/compatdata/1874910/pfx/drive_c/users/steamuser/Documents/My Games/ArmaReforgerWorkbench/addons/RLM/addon.gproj 144 characters <- does work

Given that WB is able to load this same addon path just fine it seems there is some issue specific to the PeerTool or diag client, perhaps they are using a different Windows FS API that doesn't support longer paths?

Geez changed the task status from New to Reviewed.May 14 2025, 10:45 AM
wyqydsyq renamed this task from Workbench randomly creates corrupted projects that crash w/ shader error upon running PeerTool to Long mod/addons directory paths trigger crash w/ shader error upon running PeerTool.May 14 2025, 2:47 PM
wyqydsyq updated the task description. (Show Details)
wyqydsyq edited Steps To Reproduce. (Show Details)