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.
Options

[HoloToolkit] Problem with play mode in Unity

doris4730doris4730
edited May 2017 in Questions And Answers

I'm builded a project with Spectator View plugin on my PC and then trying to run it on notebook and get error - play mode in Unity not works.
When I press play button, Unity try play scene, but this proccess is never finish (I waited about 5-10 minutes), play button color never change to blue.

UPD: I tryed to disable gameobjects in scene one by one and found script that produce this error - GestureInput class from HoloToolkit.
When I disable this script, play mode started working. I look inside the script and found a line of code that produce this error, it was a creation of new object of type GestureRecognizer from namespace UnityEngine.VR.WSA.Input. I surrounded this line with preprocessor directive #if NETFX_CORE that means compile this line only for HoloLens, and for now play mode in Unity working for me, but i don't understand how i can prevent this bug in future, maybe i need to install some critical software update to my notebook?

Tagged:

Best Answer

  • Options
    doris4730doris4730
    Answer ✓

    Finally i figured out what was the problem. I turned on developer mode in windows settings and problem was solved

Answers

  • Options
    doris4730doris4730
    Answer ✓

    Finally i figured out what was the problem. I turned on developer mode in windows settings and problem was solved

Sign In or Register to comment.