MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

MRTK Standard shader issue (pink) after updating to RC2 from RC1

Open comicxmz001 opened this issue 7 years ago • 6 comments

Describe the bug

After updating to RC2 from RC1, all materials using MRTK Standard Shader become pink.

To reproduce

Steps to reproduce the behavior: For new project:

  1. Start a new project
  2. Import RC2
  3. Create a materials, set shader to "MRTK Standard"
  4. Pink.

For RC1(including refresh) project:

  1. Follow instructions to import RC2
  2. All materials using MRTK standard shader become pink.

Expected behavior

Materials using the shader should not be affected.

Screenshots

If applicable, add screenshots to help explain your problem.

Your Setup (please complete the following information)

  • Unity Version 20184.1f1
  • MRTK Version v2.0.0 RC2

Target Platform (please complete the following information)

-UWP

Additional context

"Roll back" to RC1 (reimport RC1 back to Unity without deleting any RC2 stuff), shader starts working.

comicxmz001 avatar Jun 13 '19 12:06 comicxmz001

@Cameron-Micka FYI

wiwei avatar Jun 13 '19 13:06 wiwei

Also experienced this, rollback stopped it

IsaacSurfraz avatar Jun 13 '19 14:06 IsaacSurfraz

Hi @comicxmz001 & @IsaacSurfraz,

Sadly I was not able to reproduce this by:

  1. Creating a new Unity 2018.4.1f1 LTS project
  2. Importing the RC2 Foundation package
  3. Creating a new material and selecting the MRTK/Standard shader

Capture

A pink material hints at a missing shader or a shader compilation error. Does the pink material have the MRTK/Standard shader specified?

Material

If the material does have the MRTK/Standard shader specified, do you see any shader compilation errors? You should see them here:

Errors

Cameron-Micka avatar Jun 13 '19 16:06 Cameron-Micka

If possible could you please attach a minimum reproduction Unity project? I will close this issue until then.

Cameron-Micka avatar Jun 13 '19 16:06 Cameron-Micka

If possible could you please attach a minimum reproduction Unity project? I will close this issue until then.

The issue is resolved in RC2.1.

comicxmz001 avatar Jun 20 '19 00:06 comicxmz001

That is great to hear @comicxmz001, thank you for the information!

Cameron-Micka avatar Jun 20 '19 16:06 Cameron-Micka