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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment