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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment