Search Issue Tracker
Fixed
Fixed in 2021.3.44f1, 2022.3.47f1, 6000.0.19f1, 7000.0.0a13
Votes
1
Found in
2021.3.43f1
2022.3.45f1
6000.0.11f1
6000.1.0a7
Issue ID
UUM-76152
Regression
Yes
Crash on "SettingsFilteredShaderVariantEnumeration::SettingsFilteredShaderVariantEnumeration" when building for iOS or Android
How to reproduce:
1. Open the “IN_80499” project
2. In the Build Settings press Build And Run
Expected result: Project builds succesfuly
Actual result: Editor crashes
Reproducible with: 2023.3.0a11, 6000.0.11f1
Not reproducible with: 2021.3.40f1, 2022.3.37f1, 2023.3.0a10
Reproducible on: macOS Sonoma 14.5 (M1), macOS 14.5 23F79 Darwin 23.5.0 (user reported)
Not reproducible on: No other environment tested
Notes:
- Also reproducible when trying to build on Android platform
- Not reproducible when building for macOS platform
- Not reproducible on a new project
First lines of the Stack trace:
{noformat}#0 0x0000010309a274 in mono_array_length(MonoArray)
#1 0x00000103f34cc0 in SettingsFilteredShaderVariantEnumeration::SettingsFilteredShaderVariantEnumeration(core::basic_string<char, core::StringStorageDefault<char>> const&, core::vector<GfxDeviceRenderer, core::allocator<GfxDeviceRenderer, 0ul>> const&, core::flat_map<ShaderTagID, ShaderTagID, std::__1::less<ShaderTagID>, core::allocator<core::pair<ShaderTagID, ShaderTagID, false>, 0ul>> const&, ShaderVariantData const&, ShaderCompilerProgram, keywords::LocalKeywordState const&, keywords::LocalKeywordState const&, keywords::LocalSpace const&, bool)
#2 0x00000103f35904 in SettingsFilteredShaderVariantEnumeration::SettingsFilteredShaderVariantEnumeration(core::basic_string<char, core::StringStorageDefault<char>> const&, core::vector<GfxDeviceRenderer, core::allocator<GfxDeviceRenderer, 0ul>> const&, core::flat_map<ShaderTagID, ShaderTagID, std::__1::less<ShaderTagID>, core::allocator<core::pair<ShaderTagID, ShaderTagID, false>, 0ul>> const&, ShaderVariantData const&, ShaderCompilerProgram, keywords::LocalKeywordState const&, keywords::LocalKeywordState const&, keywords::LocalSpace const&, bool)
#3 0x00000103f40450 in CompileGpuProgramSnippets(CompileShaderOptions const&, ShaderType, core::basic_string<char, core::StringStorageDefault<char>> const&, ShaderPassType, int, int, unsigned int, ShaderSnippet const&, bool&, core::basic_string<char, core::StringStorageDefault<char>> const&, core::vector<SnippetCompileJobData, core::allocator<SnippetCompileJobData, 0ul>>&, bool&, MemLabelId)
#4 0x00000103f46b64 in CompileShaderSubprograms(ShaderType, unsigned int, ShaderLab::SerializedProgram&, int, core::basic_string<char, core::StringStorageDefault<char>> const&, ShaderPassType, int, int, CompileShaderOptions const&, core::vector<SubProgramBlobWriter, core::allocator<SubProgramBlobWriter, 0ul>>&, ShaderSnippet, core::basic_string<char, core::StringStorageDefault<char>> const&, bool&)
#5 0x00000103f45a5c in CompileShaderSubprograms(ShaderLab::SerializedShader&, CompileShaderOptions const&, ShaderSubprogramBlobMap&){noformat}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Resolution Note (fix version 7000.0.0a13):
Fixed a crash in shader variant prefiltering when renderpipeline asset had a broken reference.
Resolution Note (fix version 6000.0.19f1):
Fixed a crash in shader variant prefiltering when renderpipeline asset had a broken reference.
Resolution Note (fix version 2022.3.47f1):
Fixed a crash in shader variant prefiltering when renderpipeline asset had a broken reference.
Resolution Note (fix version 2021.3.44f1):
Fixed a crash in shader variant prefiltering when renderpipeline asset had a broken reference.