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
- Sprite Masks affect Sprite Renderers outside their range when a Light2D is present with specific Target Sorting Layers selected
- URP Lens Flare is rendered in the wrong position when Render Graph Compatibility Mode is enabled and Render Scaling is not 0
- Editor crashes on DrvPresentBuffers when loading RenderDoc while using OpenGLES 3.0 or OpenGLES 2.0 Graphics API
- [Test Runner] Incorrect name under Window > Panel after project restart
- [iOS] Crash when using fallback fonts created at runtime
Add comment