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

Scrollbar component of unity

Hi,

I have designed a scrollbar attached to text,I can see that thing in game view.But the problem is when I am building the project and running it in the emulator, I am unable to see anything on emulator.

Can you please correct me if I am going wrong anywhere.So, that what ever I am seeing in game view is also seen on emulator.

Yeah this is unity related question, but if anyone having the idea regarding this, it would be helpful.

Answers

  • Options

    Hi,

    I have designed a scrollbar attached to text,I can see that thing in game view.But the problem is when I am building the project and running it in the emulator, I am unable to see anything on emulator.

    Can you please correct me if I am going wrong anywhere.So, that what ever I am seeing in game view is also seen on emulator.

  • Options

    Hi @Aishwarya_Chola123,
    The most likely culprit is position or scale.

    Double-check that your camera's position is set to 0,0,0.
    Now, set your scrollbar to 0,0,2. This will ensure that the object will appear ~2m in front of the camera.
    If you can't see your object when you press 'play' in the editor, then it is either too large (you're camera is actually inside of the scrollbar), or it is too small to be visible. Adjust scale until your scrollbar appears in view.
    You can also create a basic cube object with the desired scale (0.1, 0.1, 0.1 is a good starting scale) to use as a reference when scaling other objects in your scene.

    Also, if you want Unity's game view to match the emulator, then be sure to set the Main Camera's 'Field of View' property to 16.

    I hope this helps,
    ~Angela

  • Options

    Hi @ahillier,

    I am unable to change the positions of my objects in the hierarchy because they are all dependent on one another.

    I have canvas inside it there is a panel
    panel has image,
    image has text and
    panel is attached with scrollbar component.

    Attaching an image of my scene view
    In the image we can clearly see that i am unable to see anything on Camera Preview so the output on emulator is also blank.

    Please help me:)

Sign In or Register to comment.