Search Issue Tracker
Fixed in 10.x
Votes
0
Found in [Package]
9.0.0 preview.33.
Issue ID
1265632
Regression
No
[HDRP] Retrieving array & Mismatched type errors on changing the array size of shader properties DefaultCompositionGraph profile
Errors are thrown:
-Retrieving array element that was out of bounds.
-SerializedProperty m_ShaderProperties.Array.data[2].propertyType has disappeared!
-type is not a supported int value.
-Mismatched types in GetValue - return value is junk
Steps to repro:
1. Create a new HDRP template project
2. Windows > Render Pipeline > HD Render Pipeline Compositor.
3. Enable Compositor > Project Window > Assets/Compositor.
4. Open DefaultCompositionGraph > Blackboard > Add Vector1 > Save Asset.
5. Select DefaultCompositionGraph profile > Shader properties > Size > 1.
Actual Result:
Retrieving array & Mismatched types errors in the console.
Expected Result:
No errors in the console.
Reproducible in:
2020.2.0a19, 2020.1.0f1, 2020.1.0b13 with Package version 9.0.0 preview.33.
Note: HDRP Compositor window introduced in 9.0.0 preview.33.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
Retrieving array element that was out of bounds
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
SerializedProperty m_ShaderProperties.Array.data[2].propertyType has disappeared!
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
type is not a supported int value
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Mismatched types in GetValue - return value is junk
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
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
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
Resolution Note (fix version 10.x):
Fixed in package version: 10.0.0-preview.27.