Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    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?