Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Making Screenshot with ARCamera facing to User creates black renderTexture in other gameobject

Discussion in 'AR' started by levoxtrip, Sep 7, 2023.

  1. levoxtrip

    levoxtrip

    Joined:
    May 4, 2020
    Posts:
    48
    For my game I'm using the ARCamera to let the player make a selfie. For that I have a screenshot code but I also used ScreenCapture.CaptureScreenshot("test.png"). It always results in a a black render texture of my gps map. For the gps map I also use a camera with a render texture. If I use the normal camera it seems to not generate the problem!!!
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    956
  3. levoxtrip

    levoxtrip

    Joined:
    May 4, 2020
    Posts:
    48
    But the problem lies into the XR section.
     
  4. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    956
    You are welcome to file a bug: https://unity3d.com/unity/qa/bug-reporting

    The XR team does not own this code, and we will not be the ones to fix it. But if you file a bug, our QA team can help you reach the right team.