Search Issue Tracker
Fixed in 10.6.0
Votes
12
Found in [Package]
10.4.0
Issue ID
1328636
Regression
Yes
[Regression] URP Unlit ShaderGraph is broken in Hybrid Renderer V2
How to reproduce:
1. Open attached project (ECS_HybridURPSamples.zip) with 2020.3
2. Open MaterialOverridesSample scene
Expected result: Spheres that are using unlit URP shader are rendered
Actual result: The spheres using unlit URP shader graph are not rendered and errors are thrown in the console:
A Hybrid Renderer V2 batch is using the shader "Shader Graphs/URPUnlitGraph", 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.
Reproducible with: 10.4.0(2020.3.5f1), 11.0.0(2021.1.4f1)
Not reproducible with: 10.2.2, 10.3.2(2020.3.3f1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Screen Space Ambient Occlusion is ignored when toggling "Post Processing" visibility in the Scene window overlay
- “RenderTexture.Create failed: requested size is too large.” errors are thrown and the Inspector window is black when selecting a CubemapArray texture
- Crash on AMDUnityPlugin.DLL in specific built project when using FSR2 upscaler
- RenderObjects does not have any Depth texture bound when Event is set to AfterRenderingPostProcessing
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
Mortoc
Sep 07, 2021 20:00
Bug is still present in 10.6.0.
(Bug Case 1363690 contains an example)
iamarugin
May 03, 2021 16:17
+1
jvik
May 02, 2021 13:55
+1
Although not ideal, downgrading to 10.3.2 worked for me.
Upgrading to 10.5 didn't work.
Thygrrr
Apr 30, 2021 10:27
Interestingly, a NEW shadergraph I created has the same issue now on 10.5.0 - investigating. Also, saving the graphs.
Thygrrr
Apr 30, 2021 08:41
On Unity 2020.3.6f1, if you manually UPGRADE to URP 10.5.0, the issue is also no longer reproducible.
The forum thread says a fix would be in 10.6.0, so this is a bit of a (pleasant, if unsettling) surprise. You know, like when you no longer know where the Spider / Cockroach disappeared to. :)
xotonic
Apr 26, 2021 23:10
+1
Reproduced with following versions
Unity: Unity 2020.3.4f1 (64-bit)
Hybrid Renderer: Version 0.11.0-preview.42 - January 22, 2021
Shader graph: Version 10.4.0 - March 11, 2021
Universal RP: Version 10.4.0 - March 11, 2021
Thygrrr
Apr 25, 2021 11:19
DK_A5B, a workaround to this issue is to go into manifest.json AND packages-lock.json and replace all occurrences of URP 10.4.0 with 10.3.2 (important to do that in dependencies of other packages, as well, hence the lock file, too).
You need to re-do this after every Unity update, but it currently keeps me afloat.
DK_A5B
Apr 23, 2021 12:26
This issue is particularly problematic now that DOTS-ECS is fixed to the 2020 LTS version. This means that the ECS Hybrid Renderer does not work with the most recent version of 2020 LTS (2020.3.x) and URP 10.4.0 (the most recent version of URP for 2020 LTS).
Please fix.
Thygrrr
Apr 23, 2021 10:25
Actually the unlit graphs also work in one version of 11.0, and that is exclusively the version of URP that is in Unity 2021.1.0f1, in case that helps investigations.
See issues 1331111 and 1327570.