Skip to main content
Inspiring
October 12, 2015

Fps / draw calls / tris counter UI on Gear VR ?

Is there a built-in functionality to display fps / draw calls / tris counters for Unity+Utils apps/games?

If not, has anyone implemented such UI and if so, can you please share your code ? Thanks.

Ideally it would be better just having this panel:

http://docs.unity3d.com/Manual/RenderingStatistics.html

to be displayed in Gear VR (in VR friendly manner)
    This topic has been closed for replies.

    5 replies

    Inspiring
    October 12, 2015
    The closest things we have today are the perf HUD with render and latency timings (accessible via OculusConfigUtil) and OVRDebugInfo.cs (for frame rate, latency, resolution). You could extend OVRDebugInfo with data from the (unsupported) UnityEditorInternal namespace.
    motorsepAuthor
    Inspiring
    October 12, 2015
    "vrdaveb" wrote:
    The closest things we have today are the perf HUD with render and latency timings (accessible via OculusConfigUtil) and OVRDebugInfo.cs (for frame rate, latency, resolution). You could extend OVRDebugInfo with data from the (unsupported) UnityEditorInternal namespace.


    Does all that come with Oculus Utils?

    If so, how can I enable that in my build ?
    Inspiring
    October 12, 2015
    Yes, it all comes with Utilities 0.1.2, available here: https://developer.oculus.com/downloads/game-engines/0.1.2.0-beta/Oculus_Utilities_for_Unity_5/. OVRDebugInfo is a script you add to your scene. For an example, see OVR/Scenes/Room.unity. The perf hud (https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-hud/) will appear if you open OculusConfigUtil and click Tools > Advanced > Show Performance HUD.
    motorsepAuthor
    Inspiring
    October 13, 2015
    "vrdaveb" wrote:
    OVRDebugInfo is a script you add to your scene. For an example, see OVR/Scenes/Room.unity.


    I actually already had that (green) http://i.imgur.com/FQX0Hzm.png but didn't see anything on screen when testing.

    Should I add DebugGraph (orange) to actually toggle performance HUD ?

    "vrdaveb" wrote:
    The perf hud (https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-hud/) will appear if you open OculusConfigUtil and click Tools > Advanced > Show Performance HUD.


    I take it as it's for the Rift only, not for Gear VR ? (I could find anything like that in Unity, using Utils)
    Inspiring
    October 13, 2015