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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
Add comment