Search Issue Tracker
Fixed in 10.1.0
Votes
0
Found in [Package]
10.0.0-preview.27
Issue ID
1268961
Regression
Yes
[HDRP] Multiple errors are thrown on removing Custom Pass after changing their index
Errors are thrown:
-Retrieving array element that was out of bounds.
-SerializedProperty customPasses.Array.data[1].passFoldout has disappeared!
-type is not a supported int value.
-NullReferenceException: Object reference not set to an instance of an object
Steps to repro:
1. Create a new HDRP project.
2. Hierarchy > Click on "+" > Volume > Custom Pass.
3. Add DrawRenderersCustomPass & FullScreenCustomPass.
4. Change their name "Test1" & "Test2" respectively.
5. Drag the FullScreenCustomPass to the top of the list.
6. Remove FullScreenCustomPass from the list.
Actual Result:
Errors in the console:
-Retrieving array element that was out of bounds.
-SerializedProperty custom Passes.Array.data[1].passFoldout has disappeared!
-type is not a supported int value.
-NullReferenceException: Object reference not set to an instance of an object
Expected Result:
No errors in the console.
Reproducible in:
2020.2.0b1, 2020.2.0a20 with Package version 10.0.0-preview.27.
Working Fine in:
2020.2.0a20, 2020.1.2f1 with Package version 9.0.0 preview.33.
Environment:
Occurring only on Windows.
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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Resolution Note (fix version 10.1.0):
Fixed in Package version 10.2.0.
Resolution Note (fix version 10.1.0):
Fixed in 10.1.0