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.

UI Unity Canvas move during Live Preview

I have a somewhat strange problem. I used the suggestion from this thread to create a HUD.
https://forums.hololens.com/discussion/comment/4166#Comment_4166

I set the unity GUI Canvas to Screen Space - Camera and attached to Hololens Camera. It works well. HUD stays in place. The weird thing happens when I press the "Live Preview" button in the device portal of the hololens.
The GUI seems to move for the wearer of the hololens. For the wearer, it looks like he used a zoom in the button with the gaze as the center. In the Live Preview, it looks normal though.

To illustrate the problem I made the following picture.
http://anymotion.com/download/HololensProblemMoved.jpg

As I mentioned. This happens only if I use live preview or mixed capture. Otherwise, it looks normal. Although it only seem to affect the GUI ( or it is only noticeable with the guy)

Anyone knows what this is and how I can avoid ( fix ) this?

Best regards
Senador

Answers

  • That happens to me as well when using Holographic remoting. Are you using that by chance?

    Taqtile

  • No. I just login into the device portal. Described here:
    https://developer.microsoft.com/en-us/windows/mixed-reality/using_the_windows_device_portal

    and use the mixed capture function there. Well, technical I log in from my laptop into the hololens. Is that holograhic remoting? I'm not sure.

    Senador

  • No, that is not holographic remoting.
    https://developer.microsoft.com/en-us/windows/mixed-reality/unity_play_mode

    I haven't seen it outside of holographic remoting. Hopefully somewhere else on here can help out.

    Taqtile

  • thebanjomaticthebanjomatic ✭✭✭
    edited May 2017

    Strange... Its probably rendering the UI relative to the screen-space of the mixed reality capture. Is it possible to not use screen space for this?

    The design guidance (see Basic hologram positioning) for UI's is generally to not use head-locked screen-space displays and instead to prefer world-space and/or body-locked content.

  • If you notice, when you finish your recording, the recording actually captures a larger area than what you are seeing through the Holo. Now, when you have a screen space canvas in Unity, it auto-scales to the screen size or FOV of the camera. So, I am assuming that when you switch to the recording mode on the Holo, it slightly changes the FOV and screen size to adjust for recording and thus your canvas is stretched outside of what you are seeing, in frame.

  • ReeleyReeley ✭✭✭

    I had something similar yesterday. I created Screen Space canvas and my UI Text got cut off on the left side. Funny thing is that this only occurs on the right screen. If you close your left eye you can see clearly that some text got cut off, but if you close your right eye then you can see the text. I guess the Hololens renders two somewhat different pictures on the screens.

Sign In or Register to comment.