Search Unity

SRP + UnityXR + MixedReality + PostProcessing == Null (Grey Screen)

Discussion in 'AR/VR (XR) Discussion' started by mikeNspired, Mar 1, 2020.

  1. mikeNspired

    mikeNspired

    Joined:
    Jan 13, 2016
    Posts:
    57
    Tried on an empty projected and imported everything required.
    The moment I turn on Post processing, screen goes gray.
    Will this be fixed? Or do I need to move to the URP?
     
  2. ThomasZeng

    ThomasZeng

    Unity Technologies

    Joined:
    Jun 24, 2019
    Posts:
    48
    Hi Mike,

    Thanks for letting us know,
    Couple questions:
    1) Which gfx API is the project using? Is it DirextX11, Vulkan or GLES3?
    2) You mentioned the project is using SRP, are you using HDRP or URP?

    Thanks!
    Thomas
     
    Last edited: Mar 2, 2020
  3. mikeNspired

    mikeNspired

    Joined:
    Jan 13, 2016
    Posts:
    57
    Sorry, not on my correct computer to check.
    I can reproduce the problem by just.
    1.Creating a New Unity Project. "3D".
    2.Importing Post Processing, UnityXR Management
    3.Install WindowsXR Plugin inside of project Settings XR PluginManagement
    4.Setupin the plugin providers and enable iniatlize on start.
    5.Add Post processing. Set up the camera to use it.

    (So I am not on HDRP or URP, are you suggesting that I use one of the two if I am using UnityXR?)
     
  4. GoGoBlitz

    GoGoBlitz

    Joined:
    Apr 9, 2016
    Posts:
    1
    Same here
     
  5. Leonar3Do

    Leonar3Do

    Joined:
    Apr 20, 2015
    Posts:
    2
    The issue is reproducible in Unity 2019.3.5f1. The post-processing works fine both with SteamVR package and XR framework with Oculus plugin.
     
  6. VisualDima

    VisualDima

    Joined:
    May 21, 2020
    Posts:
    4
    I have same issue with 3D (built-in render pipeline) project + XR + SteamVR
    100% reproducible:
    1. Create new built-in render pipeline project
    2. Importing Post Processing, UnityXR Management
    3. Importing SteamVR plug-in. Configure
    4. Add Post processing (volume). Set up the VR camera to use it.
    I'm having gray screen.
    When disabling VR camera, and using normal (flat) camera, postprocessing works as expected.

    Also, the moment I disable Postprocessing Layer component on VR camera, gray screen dissappeares and rendering goes as expected (without postprocessing of course)
     
  7. Clavus

    Clavus

    Joined:
    Jun 6, 2014
    Posts:
    44
    I have this same issue using in-built render pipeline + Unity XR Management package + OpenVR XR plugin + setting OpenVR to use single pass instanced rendering + Post-processing package, and setting up a simple scene with a camera containing a post-processing layer and adding some post-processing volumes. It just ends up rendering a grey screen inside the HMD.

    I can 'fix' it by either (1) setting OpenVR XR plugin to use multi-pass rendering (worse performance) or (2) ditching XR Management and going back to Unity's legacy VR system.

    Please fix this already, it's been an issue for ages.
     
    Last edited: Nov 16, 2020
  8. Shaunyowns

    Shaunyowns

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    328
    Hey @VisualDima, can you bug report this please?
     
unityunity