Search Issue Tracker
Fixed
Fixed in 2022.3.7f1, 2023.2.0b5
Votes
0
Found in
2022.3.6f1
2023.2.0b4
Issue ID
UUM-47603
Regression
Yes
[URP] Crash on ShaderCompilationInfo::AddSnippetsFromPass(Shader*, ShaderLab::Pass*) when target platform is changed to "Android"
Reproduction steps:
1. Create a new “3D (URP)” Project
2. Open the Build Settings window (File > Build Settings)
3. Select “Android” Target Platform
4. Press the “Switch Platform” button
Expected result: The Editor switches platform
Actual result: The Editor crashes
Reproducible with: 2022.2.0b10, 2022.3.6f1, 2023.2.0a19, 2023.2.0b4
Not reproducible with: 2021.3.29f1, 2022.2.0b9, 2023.1.8f1, 2023.2.0a18
Fixed in: 2022.3.7f1, 2023.2.0b5
Reproducible on: Ubuntu 22.04, Windows 10
Not reproducible on: No other environment tested
First lines of the stack trace:
{{0x0055e451a1850c in burst_signal_handler(int, siginfo_t, void)}}
{{0x007f6a5da42520 in __sigaction}}
{{0x0055e453891940 in ShaderCompilationInfo::AddSnippetsFromPass(Shader, ShaderLab::Pass)}}
{{0x0055e451bed6ba in ShaderLab::Program::GetMatchingSubProgram(Shader const, ShaderLab::Pass const, keywords::LocalKeywordState const&, unsigned int, keywords::LocalKeywordState, ShaderSnippetResult&, AsyncShaderCompilationMode, bool, int, int) const}}
{{0x0055e451bf7194 in ShaderLab::ShaderState::FindSubProgramsToUse(Shader const, ShaderLab::Pass const*, ShaderLab::SubPrograms&, ShaderPassContext const&, keywords::LocalKeywordState const&, bool, int, int) const}}
Note:
- Not reproducible with “3D (HDRP)” Project
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Add comment