Search Issue Tracker

By Design

Votes

2

Found in [Package]

0.11.0-preview.42

Issue ID

1327570

Regression

Yes

Hybrid Instanced Shader becomes uncompatible with Hybrid Renderer V2 after a Unity Update to 2021.1.1f1

Package: DOTS Hybrid Renderer

-

How to reproduce:
1. Open the attached project
2. Open BugScene
3. Click play

Expected result: The object is visible in the Game View
Actual result: The object is not visible in the Game View, an error is thrown

Reproducible with: 2021.1.1f1, 2021.1.3f1 (0.7.0-preview.24 - 0.11.0-preview.42)
Not reproducible with: 2020.3.2f1, 2021.1.0f1, 2021.2.0a1, 2021.2.0a10 (0.7.0-preview.24 - 0.11.0-preview.42)
Could not test with: 0.0.1-preview.3 - 0.5.2-preview.4; 2018.4.33f1, 2019.4.23f1 (Hybrid Renderer V2 not supported), 2021.2.0a11, 2021.2.0a12 (error with the required Platforms package)

Notes:
1. The bug only reproduces in Play Mode
2. The error:
A Hybrid Renderer V2 batch is using the shader "Shader Graphs/Graph Outline", but the shader is either not compatible with Hybrid Renderer V2, is missing the DOTS_INSTANCING_ON variant, or there is a problem with the DOTS_INSTANCING_ON variant.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

  1. Resolution Note:

    DOTS is not compatible with Unity 2021.1 and 2021.2. See here for more info: https://forum.unity.com/threads/notice-on-dots-compatibility-with-unity-2021-1.1091800/

Comments (1)

  1. lclemens

    Jun 23, 2022 15:00

    I'm using Entities 0.51.0-preview.32 with Unity 2021.3.4. I was under the impression that 0.51 was meant to work with Unity 2021, however, I'm now getting this error where I wasn't getting it before upgrading from Unity 2020.

    Is Entities 0.51 still not compatible with Unity 2021?

Add comment

Log in to post comment