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
- Crash on SkinnedMeshRendererManager when interacting with a prefab generated with uncombined meshes using Synty Sidekick Character Creator
- Crash on folly::detail::safe_assert_terminate_v when updating the Meta XR SDK Packages
- The text font falls back on a different font depending on the fallback font used
- Template is opened in Isolation when opening it in Context and users Save the UI Document when prompted to do so in UI Builder
- Mono Windows Builds don't produce full log callstacks when generating logs
Resolution Note (fix version 10.x):
Fixed in package version: 10.0.0-preview.27.