Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] MRTK URP support for Unity 2021 (URP 12.1.12+) #449

Closed
paulio opened this issue Sep 4, 2023 · 2 comments
Closed

[BUG] MRTK URP support for Unity 2021 (URP 12.1.12+) #449

paulio opened this issue Sep 4, 2023 · 2 comments
Labels
Needs: Triage Needs to be triaged. Type: Bug A problem with an existing feature that can be fixed with the next patched release.

Comments

@paulio
Copy link

paulio commented Sep 4, 2023

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 (used to produce the working examples)
  • MRTK Version
    MRTK2 2.8.3
    MRKT3 3.0.0-pre18

Target platform (please complete the following information)

  • HoloLens 2

Additional context

Add any other context about the problem here.

@paulio paulio added Needs: Triage Needs to be triaged. Type: Bug A problem with an existing feature that can be fixed with the next patched release. labels Sep 4, 2023
@AMollis
Copy link
Contributor

AMollis commented Sep 5, 2023

@paulio can you please open this bug against the Mixed Reality Graphics Tools.

https://github.com/microsoft/MixedReality-GraphicsTools-Unity

This Graphic Tools is currently a stand-alone project still maintained by the Microsoft organization.

@paulio
Copy link
Author

paulio commented Sep 6, 2023

@shaynie shaynie closed this as completed Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage Needs to be triaged. Type: Bug A problem with an existing feature that can be fixed with the next patched release.
Projects
None yet
Development

No branches or pull requests

3 participants