microsoft / microsoft/MixedReality-GraphicsTools-Unity
MRTK URP support for Unity 2021.3.29+ (URP 12.1.12+)
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 209
- Forks
- 49
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Verhalten des unsichtbaren Materials in einem Unity 2021.3.29f1-Projekt mit URP 12.1.12+ und dem MRTK Standard shader zu reproduzieren. Vergleiche das Verhalten von Shader und Material mit Unity 2020.3.42, einschließlich des Tools MRTK Upgrade URP Materials für MRTK 2. Als abgeschlossen gilt die Aufgabe, wenn der Shader seine konfigurierte Farbe in Vorschauen und auf einem Mesh sowohl für MRTK 2 als auch für MRTK 3 anzeigt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- unity
- Bereich
- computer-graphics, game-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100