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
- Crash on mecanim::SetValueWeight when switching the AnimationMixerPlayable connection with Animator's UpdateMode set to "Animate Physics"
- The "StringComparer.InvariantCultureIgnoreCase.GetHashCode()" returns different Hash Codes for the same word with the only difference being case sensitivity in WebGL
- 2D Light Textures show the lights of any 'blend style' index higher than theirs (if present) when they aren't visible by the Camera using Render Graph
- [SpeedTree] Wireframe mode not rendering correctly ST assets
- Light2D affecting only the Default Sorting Layer will also affect any Custom Lit Sprite not on that Layer when using Render Graph
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