How to reproduce:
- Delete “Library” folder from the “IN-148420” project
- Launch the project
- Observe the crash
Reproducible with: 6000.3.0a5 (f9a1fab5607a), 6000.3.0a6, 6000.3.21f1
Not reproducible with: 6000.0.80f1, 6000.3.0a4, 6000.5.6f1, 6000.6.0b6, 6000.7.0a3
Fixed in: 6000.4.0a1
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: The crash happens while launching the Editor without Library due to renderer.sharedMaterial being updated in onValidate() with certain values
First few lines of the stack trace:
0x00007FFCBAA8D500 (Unity) UNITY_XXH32
0x00007FFCBA95D171 (Unity) core::base_hash_set<core::pair<core::basic_string<char,core::StringStorageDefault<char> > const ,keywords::GlobalKeyword,1>,core::hash_pair<core::hash<core::basic_string_ref<char> >,core::basic_string<char,core::StringStorageDefault<char> > >,core::equal_pair<std::equal_to<core::basic_string_ref<char> >,core::basic_string<char,core::StringStorageDefault<char> > > >::lookup<core::basic_string_ref<char>,core::equal_pair<std::equal_to<core::basic_string_ref<char> >,core::basic_string<char,core::StringStorageDefault<char> > > >
0x00007FFCBA965022 (Unity) keywords::LocalSpace::StateFromKeywordNames
0x00007FFCBA9289C0 (Unity) SharedMaterialData::SetShader
0x00007FFCBA914C43 (Unity) Material::BuildProperties