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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment