Hi, I've got a question regarding the Hybrid Renderer as I'm getting a bit confused: We want to use the 2D Renderer to benefit from the 2D lighting system which is in the URP now. Is it possible to enable the Hybrid Renderer there as well, as we're also using ECS to spawn entities? For now, we're getting the error: A Hybrid Renderer V2 batch is using the shader "Universal Render Pipeline/Lit", 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. Is it planed that those are combined (and if there's a rough timeline, could you please tell me or a give a link to a roadmap)? Thanks a lot, Patrick
Our team has same problem. We are upgrade our project to 2020.1 version. Include URP 9.35. Ser RenderV2. Upgrade our materials with ShaderGraph. And when we are loading our objects through addressables getting same error
I don't know if you'll see this, but I'm encountering that same error now, I'm using 2020.3.1f, I have to most recent URP RenderV2 In my case the material already uses ShaderGraph, and it is flagged as compatible with SRP batcher.
It's a problem of the shader pragma targeting the wrong version https://forum.unity.com/threads/hybrid-renderer-v2-0-4-0.847546/page-14#post-7094752 Either somehow reorganize the shadergraph version generation or get down and dirty and write the shader manually. If it's unlit, that's fairly simple. If it's lit, good luck.
URP/Lit shader SRP Batcher incompatibility issue is fixed in 10.5.1 package. We expect the hotfix package to drop soon. It's in final testing. More info here: https://forum.unity.com/threads/hybrid-renderer-0-11-0-preview-43-change-list.1116457/
Still have some error under hybrid render v2 Windows Editor 2020.3 Android Platform , Graphic API: OpenGLES 3.2 Packages: Hybird Render 0.11.0-preview.44 Error: A Hybrid Renderer V2 batch is using a pass from the shader "Universal Render Pipeline/Lit", which is not SRP batcher compatible. Only SRP batcher compatible passes are supported with the Hybrid Renderer.
I got this error too. I tried to add the V2 renderer to an existing DOTS project and no matter what I do I still got the A Hybrid Renderer V2 batch is using the shader "Universal Render Pipeline/Lit", 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. error and nothing renders when I launch the game. Is there any way to fix this and to make my project work again? I attached the screenshot of the project with the packages I am using. Edit: And I checked the Lit shader it is SRP compatible: