microsoft / microsoft/MixedReality-GraphicsTools-Unity

MRTK URP support for Unity 2021.3.29+ (URP 12.1.12+)

Aperta
#189 10 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

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

Descrizione

MRTK URP support for Unity 2021 (URP 12.1.12+)

Installing MRTK in a Unity 2021 project that is using URP incorrectly produces invisible materials. When the MRTK Standard opaque shader is applied the material is incorrectly invisible. The problem is not seen in Unity 2020 projects. The problem occurs for both MRTK v2 and v3.

To reproduce

Steps to reproduce the behavior:

  1. Create an Unity 2021 project using the URP (3D) Template
  2. Using the MRTK feature tool add the standard set of assets and the Shader examples.
  3. Use the MRTK Upgrade URP Materials tool menu (if using v2)
  4. Once the install is complete view the Shader Material examples or create a new opaque material using the MRTK Standard shader
  5. Note that you cannot see the resulting material in either the preview or when the material is applied to a mesh (e.g. a simple cube)

Expected behavior

The Shader should display the color as stipulated in the shader settings

Screenshots

Expected (from Unity 2020)
image

Unity 2021
MRTK 2
image

MRTK 3
image

Your setup (please complete the following information)

  • Unity Versions
    2021.3.29f1
    2020.3.42
  • MRTK Version
    MRTK2 2.8.3
    MRKT3 3.0.0-pre18

Target platform

  • HoloLens 2, UWP

Additional context

Add any other context about the problem here.

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.

Direzione di ricerca

Inizia riproducendo il comportamento del materiale invisibile in un progetto Unity 2021.3.29f1 usando URP 12.1.12+ e il MRTK Standard shader. Confronta il comportamento dello shader e del materiale con Unity 2020.3.42, incluso lo strumento MRTK Upgrade URP Materials per MRTK 2. Il lavoro è completo quando lo shader visualizza il colore configurato nelle anteprime e su una mesh sia per MRTK 2 sia per MRTK 3.

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

Valutazione

Stack tecnologico
unity
Ambito
computer-graphics, game-dev
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.