Unity Issue Tracker - Unity Editor crashes on keywords::LocalKeywordState::LocalKeywordState when a shader is null
Fixed
UUM-16058
Unity Editor crashes on keywords::LocalKeywordState::LocalKeywordState when a shader is null
Unity: Shader System
Fixed
2023.1.X
2022.2.X
2021.3.X
Won't Fix
2022.1.X
No further releases in 2022.1
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)