Somotimes MRGT StandardShader can't rendering opaque render queue

Aperta
#193 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
unity

Direzione di ricerca

Inizia riproducendo il problema in un nuovo progetto Unity 2021.3.21f1 con UniversalRP, il pacchetto MRGT e un nuovo materiale MRGT. Confronta il rendering di StandardShader tra le queue opache e trasparenti elencate e analizza il capture di RenderDoc fornito. Il lavoro è completato quando viene identificata una causa riproducibile o una soluzione alternativa confermata e viene documentata la configurazione interessata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Describe the bug

Sometimes the rendering gets messed up when I introduce MRGT to my Unity project and create a material that applies MRGT shaders

It's strange that this issue seems to be dependent on the local PC, as opening the same project on other PCs using platforms like GitHub sometimes works without any problems. Additionally, in my past experiences, this issue has seemingly resolved itself over time, which raises the possibility of it being a Unity bug.

However, all other shaders except MRGT StandardShader work correctly, so it seems there might be some compatibility or other form of relationship with the MRGT shader.

Even when building to a device, the rendering issue persists on the device side.

I've been aware of the existence of this bug for some time but couldn't reproduce it until now, so I wanted to share this information.

To reproduce

Steps to reproduce the behavior:

  1. Create New UnityProject
  2. Add MRGT package with use MixedRealityFeatureTools
  3. Create New MRGT Material

Expected behavior

Given the issues with reproducibility and the fact that this problem only occurs in local environments even with the same project, it does suggest a higher likelihood of being a Unity issue. However, it's indeed perplexing that MRGT shader is the only one not rendering. Incorporating workarounds and documenting this issue might be necessary.

Screenshots

image

image

Rendering doesn't occur for queues up to 2500 (AlphaTest+50). Rendering begins from 2501 onwards.

image

It renders in the TransparentObject state, but the rendering is incorrect in the OpaqueObject state.

I'm attaching a RenderDoc capture file related to this issue.

image

Your setup (please complete the following information)

  • Unity 2021.3.21f1 (UniversalRP)
  • Graphics Tools Version v0.6.2

Other Dependences is here

image

Target platform (please complete the following information)

  • HoloLens 2
  • UnityEditor (Windows 11 PC DirectX11)

Additional context

RenderDocs CaptureFile is here

MRGTStandardShaderOpaqueRenderingBuginUnity2021.3.21URP(que=2000) (1).zip

Lingua principale
C#
Stelle
209
Fork
49
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/MixedReality-GraphicsTools-Unity

Tutte le issue di microsoft/MixedReality-GraphicsTools-Unity

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.