microsoft / microsoft/MixedReality-GraphicsTools-Unity
MRTK URP support for Unity 2021.3.29+ (URP 12.1.12+)
Nessuno ha ancora preso questa issue.
- 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:
- Create an Unity 2021 project using the URP (3D) Template
- Using the MRTK feature tool add the standard set of assets and the Shader examples.
- Use the MRTK Upgrade URP Materials tool menu (if using v2)
- Once the install is complete view the Shader Material examples or create a new opaque material using the MRTK Standard shader
- 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)
Unity 2021
MRTK 2
MRTK 3
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- 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