Search Issue Tracker
Fixed
Fixed in 2022.3.28f1, 6000.0.1f1
Votes
1
Found in
2022.3.25f1
2023.2.19f1
6000.0.0b16
Issue ID
UUM-70277
Regression
Yes
Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
How to reproduce:
1. Open the attached “ShaderReproProject“ project
2. Open the “Assets/Scenes/Oasis/OasisScene.unity“ Scene
3. Enter Play Mode
Reproducible with: 2022.3.25f1, 2023.2.19f1, 6000.0.0b16
Can’t test with: 2021.3.37f1 (Errors in the Console due to downgrading project)
Reproducible on: macOS 14.4 Sonoma (Intel)
Not reproducible on: No other environment tested
Notes:
- Also reproducible in Player
- User noted that removing the dynamic branch from FoveatedRenderingKeywords.hlsl prevents the crash
First few lines of the stack trace:
0x00007ff652fa9f6a (Unity) ShaderLab::ShaderState::ApplyShaderState
0x00007ff652f9b7e4 (Unity) ShaderLab::Pass::ApplyPass
0x00007ff652f85755 (Unity) DrawVBOChunkWithPass
0x00007ff652f8daba (Unity) ShaderWarmupFuncImpl
0x00007ff652f8ed19 (Unity) ShaderVariantCollection::WarmupOneShaderImpl
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Add comment