MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.34k forks source link

Azure Remote Rendering Tutorial: Viewing a remotely rendered model #75876

Closed CharlesWilliamW closed 3 years ago

CharlesWilliamW commented 3 years ago

Describe the bug Following along https://docs.microsoft.com/en-us/azure/remote-rendering/tutorials/unity/custom-models/custom-models Performing the Mixed Reality Toolkit -> Utilities -> Upgrade Mrtk Standard Shader for Lightweight Render Pipeline results in an error stating the following: "Failed to get asset path to: Mixed Reality Toolkit/Standard"

Full Log: Failed to get asset path to: Mixed Reality Toolkit/Standard UnityEngine.Debug:LogErrorFormat(String, Object[]) Microsoft.MixedReality.Toolkit.Editor.MixedRealityStandardShaderGUI:UpgradeShaderForLightweightRenderPipeline() (at Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@44460386183a-1621837738065/Core/Inspectors/MixedRealityStandardShaderGUI.cs:811)

To reproduce: Steps to reproduce the behavior: Go to 'Mixed Reality Toolkit -> Utilities' Click on 'Upgrade Mrtk Standard Shader for Lightweight Render Pipeline' See error

prefab AppMenu with materials "Hidden/InternalErrorShader" as used shaders.

My Setup: Unity Version [v2019.4.16f1] MRTK Version [v2.5.1] PC with Windows 10


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

MayankBargali-MSFT commented 3 years ago

@CharlesWilliamW Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Cameron-Micka commented 3 years ago

Thank you for reporting this @CharlesWilliamW! Can I ask how you imported MRTK-Unity? Was it by directly adding it to your project or via a package?

If it was imported via a package do you see a MRTK\Shaders folder that was autogenerated in your project?

CharlesWilliamW commented 3 years ago

I downloaded MixedRealityFeatureTool (1.0.2104.3-Beta) and imported mixed reality toolkit foundation 2.5.1 I cannot find another way to get version 2.5.1

I do not see a MRTK\Shaders folder

Cameron-Micka commented 3 years ago

Thank you, that is helpful information. Let me reach out to the Feature Tool’s author to see if he has any suggestions.

If this is blocking you, you may have luck importing MRTK directly though GitHub. But, I understand that’s normally a less desirable workflow.

Cameron-Micka commented 3 years ago

Apologies for the delay @CharlesWilliamW I was out on vacation. But, I did hear back from the Mixed Reality Feature Tool author and they were unsure why the MRTK\Shaders folder would fail to be created but they recommended trying v2.5.4 of the Feature Tool to see if that fixes the issue.

If that doesn't work you could try using the "old-fashioned way" of getting Unity packages from: https://github.com/microsoft/MixedRealityToolkit-Unity/releases

CharlesWilliamW commented 3 years ago

I tried 2.5.4 with MixedRealityFeatureTool and the "old-fashioned way" on new Unity project and they both worked. Thank you for your help.