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
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- Package Manager Filters (Status) dropdown is different color than Packages, Sort or Add package dropdowns
Resolution Note (fix version 10.x):
Fixed in package version: 10.0.0-preview.27.