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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
Add comment