Description

A licensee has reported that they are trying to run a cooked project with r.PSOPrecache.GlobalShaders=2 and running into a crash.

They believe the problem is in PrecacheComputePipelineStatesForGlobalShaders, where the code should check whether the given shader is a compute shader or something else and call FPrecacheGraphicsPipelineCache::PrecacheGraphicsPipelineState instead for non-compute shaders. This reproduces reliably on default projects as well.

Steps to Reproduce

Steps to Reproduce

  • Start a cooked build with the console variable r.PSOPrecache.GlobalShaders set to 2
  • Observe that the game crashes on startup

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-366678 in the post.

0
Login to Vote

Unresolved
ComponentUE - Rendering - Architecture - RHI
Affects Versions5.7
Target Fix5.8
CreatedFeb 19, 2026
UpdatedFeb 19, 2026
View Jira Issue