Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feedback Draw Call issue With Depth Texture

Discussion in 'VR' started by FiveFingerStudios, Nov 16, 2021.

  1. FiveFingerStudios

    FiveFingerStudios

    Joined:
    Apr 22, 2016
    Posts:
    510
    My game is mostly running at 72 fps on Quest.

    When I put a scene camera (that I use for testing in the editor) in a partial location, I see around 75 draw calls.

    When I deploy my game to the Quest and view it thru the headset, it shows 314 draw calls.


    Using Render Doc I noticed that UpdateDepthTexture is there...however I'm not using it...and it only takes 1.34 micro seconds to complete for comparison...most meshes with only Legacy/diffuse textures take about 70-400 micro seconds to render.

    If I had one shader that was using it, wouldn't it take a lot longer? Why is it even being used?