Search Issue Tracker
Fixed
Fixed in 12.1.11, 14.0.7, 15.0.4
Votes
0
Found in [Package]
12.1.7
13.1.8
14.0.3
15.0.1
Issue ID
SGB-378
Regression
Yes
Error "ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection" is thrown when opening a subgraph and a corrupted subgraph exists
Steps to reproduce:
1. Open the “IN-23015“ project
2. Open the “New Shader Graph” subgraph in the Assets folder (or create a new one and open it)
3. Observe the Console
Expected result: The subgraph was opened, and no errors occurred
Actual result: The subgraph was not opened, and ArgumentOutOfRangeException was thrown
Reproducible with: 12.0.0 (2021.2.0b15), 12.1.8 (2021.3.14f1), 13.1.9 (2022.1.24f1), 14.0.4 (2022.2.1f1), 15.0.2 (2023.1.0a21)
Not reproducible with: 10.10.1 (2020.3.41f1), 12.0.0 (2021.2.0b14)
Reproduced on: macOS Ventura 13.0.1 (Intel)
Note: Not reproducible when the “specular_power.shadersubgraph” subgraph is removed from the Assets folder
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
- IndexOutOfRangeException occurs when entering "<a></a>" tags in a TextMeshPro UI field
- Numeric property drag cursor gets enabled in the Inspector Preview window when the window is above numeric properties
- UI elements become unusable due to Object and Text Fields being set to empty/"0" when clicking "Reset" on their Components
- Scene Asset is not attached to a Lighting Data Asset for a URP Package Sample Scene
- Gizmos are not rendered for the Base Camera when using Camera Stacking
Resolution Note (fix version 15.0.4):
Thank you for submitting this issue. The fix has been worked on and released on Unity version 2023.1.0b11 (15.0.4)
Resolution Note (fix version 14.0.7):
Thank you for submitting this issue. The fix has been worked on and released on Unity version 2022.2.14f1 (14.0.7)
Resolution Note (fix version 12.1.11):
Thank you for submitting this issue. The fix has been worked on and released on Unity version 2021.3.23f1 (12.1.11)