Search Issue Tracker

Fixed in 13.1.0

Fixed in 12.1.0



Found in [Package]


Issue ID




"ArgumentException: An item with the same key has already been added" when opening Shader Graph

Package: Shader Graph


Steps to reproduce:
1. Create a new HDRP/URP project
2. Right-click in Project > Assets then click Create > Shader Graph > Blank Shader Graph
3. Right-click in Project > Assets then click Import Package > Custom Package... then select attached "GaiaShaders.unitypackage", then click Import
4. Double-click on Shader Graph created in step 2

Expected result: Shader Graph Editor opens without throwing an exception
Actual result: Shader Graph Editor does not open and an exception is thrown

Reproducible with: 12.0.0 (2021.2.0b9, 2021.2.0b12, 2022.1.0a6), 13.0.0 (2022.1.0a11)
Not reproducible with: 7.7.1 (2019.4.31f1), 10.6.0 (2020.3.19f1), 10.7.0 (2020.3.19f1), 11.0.0 (2021.1.21f1), 12.0.0 (2021.2.0b8, 2022.1.0a5)

  1. Resolution Note (fix version 13.1.0):

    ShaderGraph does not support multiple output slots with the same name. This will be detected and the user will be instructed to update the slots with distinct names.
    Fixed in: 2022.1.0a13, Shader Graph 13.1.0

  2. Resolution Note (fix version 12.1.0):

    Fixed in: 12.1.0 (2021.2.0b16)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.