Mixedrealitytoolkit-unity: unity ui example is scrolling content to outside of panel

Created on 27 Nov 2019  路  6Comments  路  Source: microsoft/MixedRealityToolkit-Unity

Describe the bug

Unity UI Example on HandInteractionExamples Scene scrolls content outside of panel.
Bug is not visible on the editor or Video Capture. Bug only visible on the device.

To reproduce

Steps to reproduce the behavior:

  1. Create New Unity Project
  2. Import 2.2.0 Stabilization Unity Packages
  3. Deploy HandInteractionExamples scene to Hololens2
  4. Scroll window of the Unity UI Example

Expected behavior

Content should stay inside scrolling panel, hiding the overflow.

Screenshots

image

Your Setup (please complete the following information)

  • Unity Version 2018.4.12f1]
  • MRTK Version 2.2.0 Stabilization

Target Platform (please complete the following information)

  • HoloLens 2
Bug

All 6 comments

I remember that it happens when you set the depth buffer to16-bit. Cameron said it seems Unity UI requires 24-bit for masking. If you build with 16-bit, the same symptom can be observed on the eye tracking text scroll example too.

Closing as this is a known (and documented) issue with Unity UI

@cre8ivepark - Where can you change the depth buffer of Unity UI items? I am looking on google as well

Note: this can be done on File > Build > Player Settings > XR Settings > Changing Windows Mixed Reality Depth Buffer to 24bit :)

Hi, I just encountered this issue while trying to set up eye auto-scroll using the docs as a guide. I think it would be useful to have this information added to the docs to keep people in the loop.

@davidkline-ms I think we might also want to remove our debug warning when the depth buffer is set to 24 bit. There are valid scenarios, like this, where 16 bit isn't sufficient. Thoughts?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

reillydonovan picture reillydonovan  路  3Comments

amfdeluca picture amfdeluca  路  3Comments

dfields-msft picture dfields-msft  路  3Comments

dustin2711 picture dustin2711  路  3Comments

brean picture brean  路  3Comments