Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug: Resize build's window while Unity XR Plug-in is initialised -> visual artefacts

Discussion in 'Editor & General Support' started by Adrian-Anta, Jan 18, 2021.

  1. Adrian-Anta

    Adrian-Anta

    Joined:
    Oct 26, 2012
    Posts:
    33
    For context.

    We are working on a VR Standalone application that renders at the same time on the headset and the monitor. We have a custom camera rendering on the monitor, with UI a second user can interact with while the VR user has the headset on.

    For the vrless user, we want the fullscreen mode to be "Windowed" and we have toggled "Resizable Window" on.

    The issue.

    After upgrading to the new Unity XR Plug-in management, resizing the build's window doesn't refresh the image inside the window, UI elements aren't selectable due to wrong positioning and there are visual artefacts everywhere if we minimize/maximize the window manually (dragging).

    I've confirmed that the source of this issue is the new Unity XR Plug-in Management. Before the upgrade window resizing worked ok. It also works if we skip the VR initialisation and we have just the vrless version running.

    Environment

    Unity 2019.4.17f1
    All packages are up to date via the Package Manager.
    The same happens when we initialise either Oculus or OpenVR
    Windows 10

    upload_2021-1-18_12-34-15.png

    upload_2021-1-18_12-35-11.png
     
  2. Adrian-Anta

    Adrian-Anta

    Joined:
    Oct 26, 2012
    Posts:
    33
  3. DennisWardAltair

    DennisWardAltair

    Joined:
    Apr 4, 2019
    Posts:
    27
    Having the same issue with a similarly configured project. I'll let you know if I find any workaround.
     
    Adrian-Anta likes this.
  4. julienkay

    julienkay

    Joined:
    Nov 12, 2013
    Posts:
    159
    Bump. Hitting this as well and would love to see a fix for 2020 LTS