Search Issue Tracker
Fixed
Fixed in 6000.0.12f1
Votes
0
Found in
6000.0.11f1
Issue ID
UUM-76698
Regression
Yes
Crash on keywords::LocalKeywordState::IsEnabled when creating a project with URP 3D Sample Template
Reproduction steps:
1. Create a new project with the URP 3D Sample Template
Expected result: A project is created and opened
Actual result: The Editor crashes
Reproducible with: 6000.0.11f1
Not reproducible with: 2021.3.41f1, 2022.3.39f1, 6000.0.10f1
Fixed in: 6000.0.12f1
Reproducible on: macOS 14.5 (M1)
Not reproducible on: Windows 10
Note: Reproduction rate is less than 100%
The first few lines of the stack trace:
#0 0x00000102b5e7c8 in keywords::LocalKeywordState::IsEnabled(keywords::LocalKeyword) const
#1 0x00000103c12b00 in ShaderVariantEnumerationKeywords::PrepareEnumeration(ShaderVariantData const&, ShaderCompilerProgram, keywords::LocalSpace const&)
#2 0x00000104771c2c in ShaderSnippet::RebuildKeywordMasks(keywords::LocalSpace const&)
#3 0x00000104772a4c in ShaderCompilationInfo::EndKeywordCombinations(int, core::vector<core::basic_string<char, core::StringStorageDefault<char>>, core::allocator<core::basic_string<char, core::StringStorageDefault<char>>, 0ul>> const&, core::vector<core::basic_string<char, core::StringStorageDefault<char>>, core::allocator<core::basic_string<char, core::StringStorageDefault<char>>, 0ul>> const&, core::vector<core::basic_string<char, core::StringStorageDefault<char>>, core::allocator<core::basic_string<char, core::StringStorageDefault<char>>, 0ul>> const&, ShaderCompileRequirements const&, Shader)
#4 0x000001041e9bfc in ShaderCompilerPreprocess(ShaderCompilerConnection&, core::basic_string_ref<char>, core::basic_string<char, core::StringStorageDefault<char>> const&, core::basic_string_ref<char>, core::basic_string<char, core::StringStorageDefault<char>>&, bool&, ShaderCompilerPreprocessCallbacks, bool, core::vector<core::basic_string<char, core::StringStorageDefault<char>>, core::allocator<core::basic_string<char, core::StringStorageDefault<char>>, 0ul>> const&, core::vector<core::basic_string<char, core::StringStorageDefault<char>>, core::allocator<core::basic_string<char, core::StringStorageDefault<char>>, 0ul>> const&, BuildTargetPlatform, bool&, bool&)
#5 0x00000103baf308 in DoShaderImportProcessing(core::basic_string_ref<char>, Shader&, core::basic_string<char, core::StringStorageDefault<char>> const&, AssetImportContext, bool)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash with multiple stack traces when performing various actions with the Cesium package installed
- Editor freezes when TextMeshPro text with an East Asian line-breaking control character wraps
- NullReferenceException is thrown and UI builder breaks when using a USS class with "transition-property: none"
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
Add comment