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 (32)

  1. 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...

  2. webdornald

    Oct 08, 2022 04:33

    still found in URP 12.1.7 Unity 2021.3.11

  3. drewlasalle87

    Oct 07, 2022 13:08

    Issue presenting with fresh 3D (URP) project using 2021.3.9f1 *at editor launch*.

    The issue is baked-in. Blank scene presenting errors consistently with no user input, no package imports or changes. Literally blank scene from LTS template.

  4. Shinkaze33

    Sep 01, 2022 21:43

    Wow, same error on opening a brand new project in Unity 2021 LTS

    RenderingCommandBuffer: invalid pass index 1 in DrawMesh
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    RenderingCommandBuffer: invalid pass index 2 in DrawMesh
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    RenderingCommandBuffer: invalid pass index 3 in DrawMesh
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

    This is on Unity 2021.3.1f1.32 LTS and latest URP for 2021 LTS (12.1.6)

  5. RogDolos

    Aug 01, 2022 02:00

    I'm still getting this errror often in URP 13.1.8 Unity 2022.1.11f1

  6. olesyaZaidman

    Jul 29, 2022 10:51

    still found in URP 12.1.1 Unity 2021.3.6f1

  7. Jaguvaari

    Jun 28, 2022 05:24

    Still present in 2021.3.5f1

  8. Bwacky

    Jun 24, 2022 00:22

    How the hell is this not backported to 2021.3 LTS? The fix is to upgrade to your crapy tech release? SUPPORT YOU DAMN LTS!

  9. atr0phy

    Jun 17, 2022 08:15

    Still here in 2021.3.4f1

    Why hasn't this been backported to the version of Unity that's actually currently supported?

    "[LTS] provides a stable foundation for projects that are in production or about to ship"

  10. esanuriana08

    May 28, 2022 15:52

    Still found in URP 2021.2.17f1

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.