Mixedrealitytoolkit-unity: Updating to MRTK 2.5.1 on iOS breaks MRTK materials, StandardShader not found

Created on 22 Oct 2020  路  3Comments  路  Source: microsoft/MixedRealityToolkit-Unity

When I update the Foundation package to MRTK 2.5.1 on iOS using the Package manager, all materials using the MRTK shaders break and for the shader selected on the material show "Hidden/InternalErrorShader".

Searching for the MixedRealityStandard.shader returns no results when pointing to 2.5.1.

To reproduce

On iOS in the Package manager or manifest file, change the Foundation version from 2.50 to 2.5.1

Expected behavior

This works on Windows, shaders update properly and no errors.

Your setup (please complete the following information)

Unity version 2019.4.13fa

Reverting to 2.5.0 fixes the shader issues.

Bug Mac Editor Package Management - NPM Shaders / Materials

Most helpful comment

That was it @keveleigh, thanks! Note you have to exit and reload Unity the the MRTK shader folder to be imported.

All 3 comments

This sounds like the issue caused by https://github.com/microsoft/MixedRealityToolkit-Unity/issues/8826. @davidkline-ms had a workaround I believe

That was it @keveleigh, thanks! Note you have to exit and reload Unity the the MRTK shader folder to be imported.

Thanks @genereddick. We will investigate a better solution than having to close and reload.

Was this page helpful?
0 / 5 - 0 ratings