Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

Materials in HoloToolkit Purple/Pink

After importing the HoloToolkit v1.5.5.0 into my HTP Install of Unity (Version 5.4.0f3-HTP) my materials are all showing in a purple'ish colour. Replacing it by another texture works fine but it should work out of the box.

Have I imported a wrong version for my Unityversion or is something wrong with my Unityinstall?

Many thank, René

Tagged:

Best Answer

Answers

  • trzytrzy ✭✭✭
    This probably means your materials were unlinked from their objects somehow. Check your prefabs to see if the materials are null. Unity uses a garish magenta color when there is no material set.
  • As @trzy mentioned, that loud magenta color is what Unity uses when it can't find the path to a material. Usually this means it was moved and the path was not updated. You should be able to just reattach the material from it's current location

  • @trzy said:
    This probably means your materials were unlinked from their objects somehow. Check your prefabs to see if the materials are null. Unity uses a garish magenta color when there is no material set.

    I looked around a bit and found out that it was not the material but its shader. Every shader I checked that once you apply it has this purple material.
    I reimported the package to see if something got wrong on the import. But this hasn't fixed it. Applying a third party wireframeshader does the trick and it becomes visible. I'm still wondering though why every holotoolkit shader is purple...

    Many thanks, René

  • @Jesse_McCulloch said:
    @René: I imagine that most of the issues you are seeing is because version 1.5.5.0 is upgraded to work with Unity 5.5, and is not compatible with 5.4.x

    If you want a 5.4 compatible version, you need to download the 1.5.4.0 release of the HTK.

    See the release notes here: https://github.com/Microsoft/HoloToolkit-Unity/releases

    Thanks for the info, I'll try that first thing tomorrow and report back if it worked or not.

    best regards, René

Sign In or Register to comment.