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

Problem with HoloLens background being drawn during capture in URP project

Discussion in 'Universal Render Pipeline' started by SthesiaSumire, Jul 18, 2021.

  1. SthesiaSumire

    SthesiaSumire

    Joined:
    Dec 8, 2018
    Posts:
    3
     I am developing a HoloLens application for the URP project.
     The app works fine on the actual device. However, when capturing, the background of the application is rendered black.
    This is very similar to what happens when the Camera component is not set to SolidColor.
     I've tried this with other projects, but it always happens with URP projects.
     If you remove URP from the graphics settings and deploy as a normal project, the background will be transparent.
     It seems to be a setting around the camera rendering, but please let me know if there is anything I need to do in terms of settings or code.



    〇Environment
    ・Unity2019.4(LTS) 、Unity2020.3(LTS)、Unity2021.1.10f1
    ・UniversalRP
    ・MRTKv2.7
     
  2. horatiu665

    horatiu665

    Joined:
    Nov 22, 2012
    Posts:
    24
    I have the same issue, I have also confirmed it seems to only happen as soon as I implement URP. Any updates?
     
  3. Cec

    Cec

    Joined:
    Apr 7, 2014
    Posts:
    92
    it seems to be resolved with the OpenXR lastest plugin (1.2.1) but the post FX glow or any transparency leads to very ugly black smears around objects.
    If anyone have a solution to capture on Hololens with URP...
     
  4. nosyb

    nosyb

    Joined:
    Nov 22, 2016
    Posts:
    2
    Would be curious also how to solve ugly black smears around objects in URP with the hololens :)