Search Issue Tracker
Fixed in 2021.3.15f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.1.0a17
Votes
0
Found in
2021.3.11f1
2022.1.18f1
2022.2.0b10
2023.1.0a12
Issue ID
UUM-16058
Regression
No
Unity Editor crashes on keywords::LocalKeywordState::LocalKeywordState when a shader is null
Steps to reproduce:
1. Open the attached project “UnityCrash.zip“
2. Open Window > General > Test Runner
3. Run all tests in the Test Runner window
Expected result: Tests are executed
Actual result: Unity Editor crashes
Reproducible with: 2021.3.11f1, 2022.1.18f1, 2022.2.0b10, 2023.1.0a12
Couldn’t test with: 2020.3.40f1 (couldn’t resolve the “'ShaderKeyword' does not contain a definition for 'name'“ error)
Reproducible on: Windows 10
Stacktrace:
keywords::LocalKeywordState::LocalKeywordState
ScriptingKeywordNamesToMask
ShaderVariantCollection::ContainsVariant
ShaderVariantCollection_CUSTOM_ContainsVariant
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Create and publish WebGL builds” link leads to “Sorry about that, we can't find the page you're looking for.” page
- " Suspected crash in FXC. " shader compiler errors are thrown in a new project when creating a project in Hub with a very long name but below the maximum character threshold
- Long cloud names stretch the space in Hub when the Project dropdown is opened
- OpenGLES3 Graphics API can be used with the "Linear" Color space on unsupported GPUs resulting the error spam
- [Windows] Recommended and Downloaded Learn tabs are empty and have scrollbar
Add comment