microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

Updating to MRTK 2.5.1 on iOS breaks MRTK materials, StandardShader not found #8836

Closed genereddick closed 9 months ago

genereddick commented 3 years ago

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.

keveleigh commented 3 years ago

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

genereddick commented 3 years ago

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

david-c-kline commented 3 years ago

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

stale[bot] commented 2 years ago

This issue has been marked as stale by an automated process because it has not had any recent activity. It will be automatically closed in 30 days if no further activity occurs. If this is still an issue please add a new comment with more recent details and repro steps.

IssueSyncBot commented 9 months ago

We appreciate your feedback and thank you for reporting this issue.

Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.

Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.

Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!