Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X, 2021.2.X
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2021.2.0b4
2022.1
Issue ID
1350950
Regression
No
Crash on keywords::KeywordRemap::Remap related to Keyword remapping
We are currently not aware of a consistent reproduction scenario for this issue.
Error that is seen before the crash in the log files: "No keyword remapping data found"
Reproducible with: 2021.2.0b4, 2021.2.0b7, 2021.2.0b8 (user-supplied information)
Could not test with: 2019.4.30f1, 2020.3.17f1, 2021.1.19f1, 2021.2.0b9, 2022.1.0a6 (due to missing reproduction scenario)
First lines of the stack trace:
0 com.unity3d.UnityEditor5.x 0x0000000100aa545c keywords::KeywordRemap::Remap(keywords::LocalKeywordState const&, keywords::LocalKeywordState&) const + 32
1 com.unity3d.UnityEditor5.x 0x0000000100acbccc ShaderLab::Program::GetMatchingSubProgram(Shader const, ShaderLab::Pass const, keywords::LocalKeywordState const&, unsigned int, keywords::LocalKeywordState, ShaderSnippetResult&, bool, bool, int, int) const + 284
2 com.unity3d.UnityEditor5.x 0x0000000100acbccc ShaderLab::Program::GetMatchingSubProgram(Shader const, ShaderLab::Pass const, keywords::LocalKeywordState const&, unsigned int, keywords::LocalKeywordState, ShaderSnippetResult&, bool, bool, int, int) const + 284
3 com.unity3d.UnityEditor5.x 0x0000000100ad5ed8 ShaderLab::ShaderState::FindSubProgramsToUse(Shader const, ShaderLab::Pass const, ShaderLab::SubPrograms&, ShaderPassContext const&, keywords::LocalKeywordState const&, bool, int, int) const + 312
Notes:
- Reproducible on Windows Editor and Player
- Reproducible on macOS Editor and Player
Comments (2)
-
lvseouren
Jul 15, 2024 02:36
This is still happen in 2022.3.33f1
-
AkyangL
Jan 18, 2022 10:23
This is still happen when I use Unity 2021.2.8 with the sample project Boss Room. In editor the game runs okay, but when I try to run the exe, then it will crash right away. Once I remove the Preloaded Shaders in Graphics setting, then the exe is fine.
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a8
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b12
Resolution Note (fix version 2020.3):
Fixed in 2020.3.23f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.33f1