Search Issue Tracker

Fixed in 13.1.2



Found in [Package]


Issue ID




[URP] "RenderingCommandBuffer: invalid pass index" errors when opening URP sample scenes

Package: Scriptable Render Pipeline Universal


Reproduction steps:
1. Open new URP Template Unity project
2. In Package Manager, select "Universal RP" package and import "URP Package Samples"
3. Open scene "AmbientOcclusion"
4. Observe Console window

Expected result: No errors
Actual result: "RenderingCommandBuffer: invalid pass index 1 in DrawMesh", "RenderingCommandBuffer: invalid pass index 2 in DrawMesh", "RenderingCommandBuffer: invalid pass index 3 in DrawMesh" errors

Reproducible with: 12.1.0 (2021.2.0b16), 13.0.0 (2022.1.0a12)
Not reproducible with: 12.0.0 (2021.2.0b15), 13.0.0 (2022.1.0a11)
Could not test with: 2019.4.30f1, 2020.3.21f1, 2021.1.23f1 (Samples not available)

1. The issue no longer reproduces after reopening the scene or project
2. The issue reproduces with the following scenes - AmbientOcclusion, ProxyLighting

  1. Resolution Note (fix version 13.1.2):

    Fixed in URP 13.1.2, which is available in 2022.1.0b1

Comments (31)

  1. Brother_77

    Aug 14, 2023 08:22

    Still an issue on 2022.3.7 with URP 14.0.8 ??

    Upgraded from 2020.3 LTS to 2022.3 LTS and now get these errors on every scene

    "RenderingCommandBuffer: shader Hidden/Internal-Loading: invalid pass index 10 in DrawMesh"

  2. sportvandora

    May 28, 2023 01:30

    Still an issue with 2021.3.26f1

  3. The_Wb

    Apr 24, 2023 19:09

    Present in 2021.3.22f
    Should really backport the fix for it

  4. atr0phy

    Feb 14, 2023 02:32

    Present in 2021.3.4f1.

    Why hasn't this been backported?

  5. GilJoWal

    Jan 29, 2023 21:43

    Still found in 2021.3.16f1

  6. CiscoCruz

    Jan 13, 2023 17:29

    Getting that error in Unity 2021.3.15f1, URP 12.1.8

  7. Liam2349

    Jan 02, 2023 16:28

    Still seeing this issue, for me it occurred after upgrading from 2021.3.14f1 to 2021.3.16f1. Completely breaks the rendering in my builds, it's like the Windows XP error box that just repeats itself. Still present in 2022.2.1f1.

  8. amelkorringzero

    Dec 26, 2022 07:26

    Fixed in 13.1.2 - can we have this fix on 2021.3 LTS with URP 12 ? We don't feel like upgrading to non-LTS yet.

  9. mdogancay

    Nov 26, 2022 22:40

    2021.3.14f1 Still the same errors we get!

  10. MiguelUno2017

    Oct 27, 2022 14:29

    im using version 2021.3.12f1... i encounter these errors... but once the package was imported it was fixed right away...

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.