Search Issue Tracker

In Progress

Fix In Review for 2020.3.X

Fixed in 2021.3.14f1, 2022.2.0b16, 2023.1.0a16

Votes

16

Found in

2020.3.39f1

2021.3.9f1

2022.2.0b7

2023.1.0a9

Issue ID

UUM-13174

Regression

Yes

“DrawMeshInstanced does not support…” error in the Console pops up when the Shader does support instanced rendering

--

-

Reproduction steps:

# Open the attached project
# Enter the Play Mode
# Hover over the “Potion” GameObject in the Game View
# Observe the Console

Expected result: There’re no errors in the Console
Actual result: “DrawMeshInstanced does not support…” error pops up in the Console

Reproducible with: 2020.3.39f1, 2021.3.9f1, 2022.2.0a8, 2022.2.0b7, 2023.1.0a9
Not reproducible with: 2022.1.0a1, 2022.1.15f1, 2022.2.0a7

Reproducible on: Windows 10 (21H2)

  1. Resolution Note (fix version 2023.1.0a16):

    Fixed incorrect error message displayed due to async shader compilation.

  2. Resolution Note (fix version 2022.2.0b16):

    Fixed incorrect error message displayed due to async shader compilation

  3. Resolution Note (fix version 2021.3.14f1):

    Fixed incorrect error message displayed due to async shader compilation

  4. Resolution Note (fix version 2020.3):

    Fixed incorrect error message displayed due to async shader compilation

Comments (5)

  1. BOXOPHOBIC

    Nov 20, 2022 20:27

    I still get the issue in 2021.3.14 in 2 shaders:

    1. Surface Shader (with instancing variants support) + Vegetation Studio Instanced Indirect. If the async shader compilation is disabled, the error goes away. So I think the bug is still not entirely fixed, or there is something missing with the instanced indirect rendering.

    2. VertexFrag Shader + Vegetation Studio Instanced Indirect. This one was missing the multi_compile_instancing pragmas in some passes, so the error is expected.

    I hope this helps narrow down the issues.

  2. VizualNate

    Nov 19, 2022 22:25

    I continue to get thousands of these error messages in 2021.3.14F1 - new installation today.

  3. 03gramat

    Nov 11, 2022 11:41

    This issue has cropped up for a package I maintain which uses both 2020LTS and 2021LTS.

    It floods the error console as I use DrawMeshInstanced at runtime.

    The fixes for 2020 and 2021 would be much appreciated :)

  4. Tanky

    Nov 07, 2022 13:48

    I see that this issue is marked "In Progress", but it's not listed in the Known Issues of the release notes for Unity 2021.3.13.

    This one bug is preventing me from updating Unity. I'm stuck at 2021.3.8. Please prioritize a fix.

  5. bital

    Oct 25, 2022 05:29

    It's also reproduced as 2021.3.11f1.

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.