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

  1. Jaguvaari

    Jun 28, 2022 05:24

    Still present in 2021.3.5f1

  2. 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!

  3. 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"

  4. esanuriana08

    May 28, 2022 15:52

    Still found in URP 2021.2.17f1

  5. jamorton

    May 06, 2022 23:32

    still found in URP 12.1.6, Unity 2021.3.2f1

  6. PetraCephas

    Apr 24, 2022 05:34

    This needs to backported to 2021.3 LTS

  7. dpt2

    Apr 21, 2022 06:15

    Still happens in 2021.3 LTS O_o not just for sample scenes, either.

  8. MuntyMcFly

    Apr 19, 2022 19:41

    add 2021.3.0f1 lts to the list lol

  9. jonathanwittpb

    Apr 19, 2022 09:29

    Will this fix be backported to URP 12.1.x ?

    It still persists in the latest URP 12 & Unity 2021.3 LTS version

  10. DarthModulus2

    Apr 13, 2022 23:44

    I am using Unity 2021.2.15f1 and followed the first 4 steps above, but didn't even open any demo or sample scenes, and got the error referenced in the title of this page.

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.