regression URP shader graph no longer work with UGUI

all custom shaders that go in UGUI are now black in-camera!
look ok in the scene view
7624510--948403--upload_2021-11-2_16-40-22.png

Hi @laurentlavigne ,

Could you please submit a bug report for this issue? Ideally with a reproduction project attached.

I reported this exact issue a while ago and haven’t received an answer regarding its status. Case 1376681

1 Like

Thanks @ !

still broken in 2021.2.1
case# 1379744

Thank you both, we’ll look into it.

1 Like

I already have an active bug report for this, it has been investigated for the last 4 months, so there will be lots of help in that:
Case 1352225
https://issuetracker.unity3d.com/issues/ui-shaders-are-not-rendered-in-game-view-from-2021-dot-2-0b2

EDIT: the issue tracker is wrong, it is not fixed in 2021.2, but I think ive already told support that via the ticket.

1 Like

My case also has a public page now: Unity Issue Tracker - URP shaders used in UI Images are rendered incorrectly

I dont know why they have so many dupicate bugs on there, it must be easier just to refer to the current one.

This is the last reponse I had from them with a workaround, it didnt work for me but it might help you.

1) Switch on debug-mode in your Inspector, (image attached)
2) Go to the Material asset created based on the Shader Graph
3) Change the "Disabled Render Passes" field for the Material to look as seen in "RenderPassestoDisable.png"

7668727--957580--RenderPassesToDisable.png 7668727--957583--InspectorDebugMode.png

Doesn’t work for me either

Same issues. Black/red color where transparent should be

@LeonhardP Sorry for the ping, but do you know if this bug is being worked on? It’s a critical issue with no easy workaround that prevents me from upgrading to 2021.2/2022.1. It seems to affect a lot of people, and it’s not clear whether this bug is going to be addressed at all.

2 Likes

Hi @DoctorShinobi ,

The issue is active and assigned to the developers. I’ve reached out to get an update on the situation.

Thank you!

1 Like

To anyone who’s still waiting, I just got this email


TLDR: It’s not getting fixed. Apparently, this was never meant to work to begin with. I find it disappointing that authoring UI shaders through SG is still not officially supported so long after SG was introduced.

Given the notice above, but also the roadmap post. Should we be redeveloping our existing games that use custom ui shaders? Or is it “safe” to wait for the support to be available? (Or is the roadmap item likely to be years out?)

The roadmap post is in the “Under consideration” section, so it’s unlikely to be released any time soon.