Mixedrealitytoolkit-unity: UPM: Upgrading shaders for Universal Render Pipeline does not persist

Created on 11 Oct 2020  路  5Comments  路  Source: microsoft/MixedRealityToolkit-Unity

Describe the bug

When MRTK is installed via UPM upgrading the MRTK Standard shader for Universal RP will only update materials for the current sessoin. Once Unity is restarted the shader/materials are back to the legacy mode.

To reproduce

  1. Import MRTK via UPM
  2. Upgrade shaders/materials
  3. Restart Unity
  4. Materials are not working with URP again

Expected behavior

The upgrade persists.

Your setup (please complete the following information)

  • Unity 2019.4 LTS
  • MRTK 2.5
  • Import via UPM
Bug Package Management - NPM Shaders / Materials

Most helpful comment

Ahh @Cameron-Micka, does this step edit the shader file directly?
@davidkline-ms might be another asset we'll need to import into the Assets folder.

All 5 comments

Got it too!

Ahh @Cameron-Micka, does this step edit the shader file directly?
@davidkline-ms might be another asset we'll need to import into the Assets folder.

@keveleigh @Cameron-Micka thanks for the info.

I would love to not require importing unless the customer needs to update to URP. Any thoughts on how to do that given the constraints of UPM?

fixed with #8804

Was this page helpful?
0 / 5 - 0 ratings

Related issues

reillydonovan picture reillydonovan  路  3Comments

dustin2711 picture dustin2711  路  3Comments

chrisfromwork picture chrisfromwork  路  3Comments

provencher picture provencher  路  3Comments

nrchuanqi picture nrchuanqi  路  3Comments