Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.

New app is black on the emulator

Dear WHDF :),

I played around with the MS 101E tutorial and now want to develop my own app POC app for fun. I already made an asset and copied the lights and cursor from the 101E project.

However when I want to launch the app the screen is black as seen in image 1. While when I look at the camera of unity it clearly displays my own created asset as seen in image 2

What am I doing wrong? If I launch the 101e app it works so it cannot be a GPU or other related problem to the hardware. I even followed the same steps as in the 101e tutorial but only didn't use their assets.

I hope someone can help me "See the light"

Kr.

Tvt

PS: i did not implement the WorldCursor yet.

Best Answer

  • TvtTvt
    Accepted Answer

    @james_ashley I just redid everything but used the Project files of the 101e demo and it works without any problems. Would say that it's eater something I did or a bug somewhere when you create your own project with the newest unity.

Answers

  • Hi @Tvt,

    Your camera settings are wrong. "Clear flags" should be set to "solid". Background should be black (0,0,0,0) which is the transparent color value in HoloLens.

    James Ashley
    VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
    Microsoft MVP, Freelance HoloLens/MR Developer
    www.imaginativeuniversal.com

  • @james_ashley thanks for spotting that error. But unfortunatly the screen is still black :/

  • @Tvt,

    Can you get other apps to run in your emulator? Have you fiddled with the desktop acceleration settings? Is the box inside your clipping range or outside it?

    James Ashley
    VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
    Microsoft MVP, Freelance HoloLens/MR Developer
    www.imaginativeuniversal.com

  • @james_ashley I was able to run the example perfectly and without any problems. So that's why I know that there are not any problems with the hardware acceleration of the GPU or something else because then it would not have worked in the first place.

  • TvtTvt
    Accepted Answer

    @james_ashley I just redid everything but used the Project files of the 101e demo and it works without any problems. Would say that it's eater something I did or a bug somewhere when you create your own project with the newest unity.

  • james_ashleyjames_ashley ✭✭✭✭

    @Tvt,

    Sounds right. Probably was an error that prevented everything else from loading. Glad you got it worked out. (Secondarily, would still recommend getting it working with the HoloToolkit if you can. This is more standard and more powerful, in the long run.)

    James Ashley
    VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
    Microsoft MVP, Freelance HoloLens/MR Developer
    www.imaginativeuniversal.com

  • @james_ashley

    i am working with the holotoolkit right now. and it works with the project I created. might be better for new people to do the 210 tutorial since they cover how to make your own project from scratch:

    https://developer.microsoft.com/en-us/windows/holographic/holograms_210

Sign In or Register to comment.