Search Unity

Profiling GearVR apps with OVRMonitor

Discussion in 'AR/VR (XR) Discussion' started by arharvey, Oct 4, 2015.

  1. arharvey

    arharvey

    Joined:
    Jul 8, 2015
    Posts:
    4
    Hi there,

    Can Unity Gear VR applications be used with OVRMonitor?

    (I am developing on Mac OSX Yosemite for Gear VR S6, Unity 5.2.1p2)

    I am currently exploring the various ways of profiling VR applications in Unity. I started here: https://developer.oculus.com/blog/squeezing-performance-out-of-your-unity-gear-vr-game-continued/

    The article mentions OVRMonitor which comes with the Oculus Mobile SDK. I gave OVRMonitor a go but was unable to open a connection to my Unity application. I made sure to

    * Enable Developer Mode in the Android Build Settings,
    * Add the recommended permissions to my AndroidManifest.xml file.

    <?xml version="1.0" encoding="utf-8"?>
    <manifest
    <!-- Other stuff omitted ... ->

    <!-- required for loading .oculusprefs -->
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

    <!-- Network access needed for OVRMonitor -->
    <uses-permission android:name="android.permission.INTERNET" />
    </manifest>​

    My laptop and device are also networked via the same wifi router. Indeed, I have no problem accessing the device over wifi using adb.

    These are the instructions I was following: https://developer.oculus.com/documentation/mobilesdk/latest/concepts/mobile-remote-monitor/

    In the Settings tab I can see my device. It also correctly detects if the device is in VR developer mode or not.

    OVRM_Settings_small.png

    However, the Server Browser tab does not list any applications I can capture.

    OVRM_Server_small.png

    Am I missing anything?

    Many thanks!
     
    Last edited: Oct 4, 2015
  2. bzor

    bzor

    Joined:
    May 28, 2013
    Posts:
    35
    trying to get this set up now, did you get anywhere with it?
     
  3. Matexyu

    Matexyu

    Joined:
    Feb 22, 2017
    Posts:
    13
  4. Matexyu

    Matexyu

    Joined:
    Feb 22, 2017
    Posts:
    13
    As of now, it looks like all works correctly (Samsung S7).

    Oculus Remote Monitor for Windows 1.0.3
    Updated: May 19, 2016
    The related Oculus Connect 2016 talk, "Maximize Performance with the Mobile SDK", can be watched here.
     
    Last edited: Mar 24, 2017