Search Issue Tracker
Fix In Review for 12.0.0
Votes
0
Found in [Package]
12.0.0
Issue ID
1394378
Regression
Yes
Duplicating/copy-pasting last keyword in the blackboard throws ArgumentOutOfRangeException
Steps to reproduce:
1. Create a new URP project or open an existing one
2. Right-click in Project View
3. Select Create -> Shader Graph -> Blank Shader Graph
4. Open the created shadergraph by double-clicking it
5. In the blackboard click the "+" icon
6. Add two properties (like Float and Color)
7. Add any keyword (Keyword -> Boolean or Enum)
8. Try duplicating the added keyword or copy-paste it to the blackboard
Expected results: Duplicating and copy-pasting works
Actual results: "ArgumentOutOfRangeException: Index must be within the bounds of the List." error is thrown
Reproducible with: ShaderGraph 12.0.0 (2021.2.0b1), 12.1.3 (2021.2.8f1), 13.1.2 (2022.2.0a2), 13.1.3 (2022.1.0b2)
Not reproducible with: ShaderGraph 10.7.0 (2020.3.25f1) 11.0.0 (2021.2.0a1), 12.0.0 (2021.2.0a21) (property and keyword lists seem separated)
Notes:
- Seems like the issue only reproduces when trying to manipulate the last keyword in the blackboard and only if there's at least two properties before it
- Didn't test all of the properties, but doesn't seem like it matters, Float, Color, Cubemap, Matrix4 all can be used to reproduce the issue
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment