Search Issue Tracker
Fixed
Fixed in 6000.0.66f1, 6000.3.5f1, 6000.4.0b4, 6000.5.0a4
Votes
0
Found in
6000.0.64f1
6000.3.1f1
6000.4.0b1
6000.5.0a3
Issue ID
UUM-130102
Regression
No
Crash on keywords::LocalKeywordState::operator when calling ShaderUtil.GetPasskeywords with ShaderType.RayTracing set as the third parameter
Steps to reproduce:
1. Open the “user’s attached project”
2. Select “Tools/Shader Tests/Test Shader Keywords (6000 API)” through the Main Menu
3. Observe the crash
Reproducible with versions: 6000.0.64f1, 6000.3.1f1, 6000.4.0b1, 6000.5.0a3
Couldn’t test with versions: 2023.1.0a26, 2023.1.20f1 (due to compiler errors)
Reproducible on: macOS 15.7.2 (M1 Max), Windows 11 Pro (25H2)
Not reproducible on: no other environment tested
First few lines of StackTrace:
#0 0x00000101394d8c in keywords::LocalKeywordState::operator=(keywords::LocalKeywordState const&)
#1 0x00000102200868 in GetKeywordMask(Shader, PassIdentifier const&, ShaderType, keywords::LocalKeywordState&, ShaderCompilerPlatform)
#2 0x000001022005e8 in ShaderUtil::GetPassKeywords(Shader, PassIdentifier const&, ShaderType, ShaderCompilerPlatform)
#3 0x00000100c833b4 in ShaderUtil_CUSTOM_GetPassStageKeywords(void*, PassIdentifier const&, ShaderType)
#4 0x000003e62d0df8 in (wrapper managed-to-native) UnityEditor.ShaderUtil:GetPassStageKeywords_Injected (intptr,UnityEngine.Rendering.PassIdentifier&,UnityEditor.Rendering.ShaderType) [{0x13370e5d8} + 0x98] (0x3e62d0d60 0x3e62d0e9c) [0x332b8ea80 - Unity Child Domain]
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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Resolution Note (fix version 6000.4.0b4):
Fixed in 6000.4.0b4
Resolution Note (fix version 6000.3.5f1):
Fixed in 6000.3.5f1
Resolution Note (fix version 6000.0.66f1):
Fixed in 6000.0.66f1