Has anyone else been trying to get Custom Pass Volumes working with Unity 2021.2+ using HDRP 12.1.6? It was working last I used the system back in 2020.3.31f1 but seems to be broken now.
Have tested in 2021.2.19f1 and 2021.3.0f1 - I’ve filed a bug report (Case 1420037) but thought I would post here as well to see if it others are experiencing or not.
Steps to reproduce:
- Create a blank new HDRP project
- Add an empty GameObject to the scene hierarchy
- Add a Custom Pass Volume to the GameObject
Expected Behaviour:
- Working Custom Pass Volumes
Actual Behaviour:
- Following errors in console and Custom Pass Volume does not appear to be working:
Retrieving array element that was out of bounds
UnityEditor.Rendering.HighDefinition.CustomPassVolumeEditor/<>c__DisplayClass19_0:<CreateReorderableList>b__2 (int)
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Retrieving array element that was out of bounds
UnityEditor.Rendering.HighDefinition.CustomPassVolumeEditor/<>c__DisplayClass19_0:<CreateReorderableList>b__2 (int)
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
ArgumentException: Getting control 3's position in a group with only 3 controls when doing repaint
Aborting
Retrieving array element that was out of bounds
UnityEditor.Rendering.HighDefinition.CustomPassVolumeEditor/<>c__DisplayClass19_0:<CreateReorderableList>b__2 (int)
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index