Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4
2019.4.13f1
2020.2
2021.1
2021.2
Issue ID
1297139
Regression
No
[UWP] [WMR] OnGUI UI Elements break on HMD
How to reproduce:
1. Open the attached "Test WMR GUI.zip" project
2. Plug-in Acer HMD device
2. Switch and Build to UWP
3. Open Visual Studios solution -> Build project (Release, x64, Local machine)
4. Press on the "test" button in the top left -> Press that button again
Expected value: When pressing the button again value increments successfully
Actual value: When pressing the button again, it loses all functionality and no longer works
Reproducible with: 2018.4.30f1, 2019.4.20f1, 2020.2.2f1, 2021.1.0b4, 2021.2.0a3
Notes:
- The issue is not reproducible on Editor
- Built-in VR
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Resolution Note (2021.2.X):
IMGUI (the system that calls 'OnGUI()', handles input, and rendering) is intentionally disabled when using an XR rendering path. This is because IMGUI works in screen space, and all screen space rendering is disabled in XR rendering paths because it appears "as close as possible" to the wearer's eyes, which can easily trigger VR sickness or even potentially damage a user's vision by inducing excess eye strain.
uGUI (https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/index.html) provides a world space camera mode for rendering into world space and this is supported for XR rendering paths.