Forum Discussion
motorsep
10 years agoStart Partner
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)
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)
5 Replies
Replies have been turned off for this discussion
- vrdavebOculus StaffThe 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.
- motorsepStart Partner
"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 ? - vrdavebOculus StaffYes, 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.
- motorsepStart Partner
"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) - vrdavebOculus StaffSorry, on Gear VR, please use OVRMonitor. https://developer.oculus.com/documentation/mobilesdk/latest/concepts/mobile-remote-monitor/
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 25 days ago