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.
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
UI developed in Unity does not show up in HoloLens
So, I created a simple UI in Unity using canvas and buttons. I did the regular deployment on Hololens and when I run the app, nothing shows up.
Any ideas, why?
Tagged:
0
Best Answer
-
OptionsJesse_McCulloch admin
Well, first things first, your camera transform should be at 0,0,0 for position.
Next, I would follow this writeup about Unity UI on HoloLens and see if that helps:
1
Answers
Can you screenshot your hierarchy in unity?
Hi @Jesse_McCulloch
Here's the Hierarchy and entire screen
I also tried adding the directional light to see if that makes any difference. But no.
What are the settings on your camera?
Here it is, camera preview is coming up blank.
Well, first things first, your camera transform should be at 0,0,0 for position.
Next, I would follow this writeup about Unity UI on HoloLens and see if that helps:
http://heliosinteractive.com/scaling-ui-hololens/
Yeah that helped me. Thanks a lot, @Jesse_McCulloch
Yeah, it totally is. I still can't see the text on buttons, but at least I can see the UI now.
To get the click events on button, we have to implement the gaze input, right?