This recording is less of a beginner tutorial and more of a working-session handoff: here is the development loop I assembled, why each script exists, and what becomes possible once performance data is reduced to something you can check with one command.

Why I made this

Gear VR development required repeated device builds, transfers, headset tests, and performance checks. Wireless APK transfers were convenient but slow, while a raw ADB logcat stream produced far more information than I needed for a quick scene-level decision.

I was building many environments that needed to maintain VR frame timing on a phone. Manually moving the headset, watching the log, and calculating performance from individual lines would make that verification too slow to repeat consistently.

What I did

I organized the work as a reusable toolkit. A shared configuration file held project-specific values, a shipping script used ADB to install the APK and start a fresh capture, and the same setup could support local device testing or an Oculus platform upload.

The logging command limited output to the Unity and VR API tags. A report script dumped the captured log, selected the lines containing the performance records, and handed the smaller file to PowerShell for parsing.

The PowerShell script extracted frame rate, tearing, stale frames, temperature, memory, sample count, and estimated runtime, then rendered a compact summary. I could run that report repeatedly while the test continued instead of reading the full log by eye.

I also added a rotating camera rig to exercise the scene without continuously moving the phone or wearing the headset. That moved part of the workflow toward repeatable, unattended performance testing.

Chapters

Select a chapter to jump the video directly to that part of the workflow.

A note on the archive

This workflow was built for the 2018 Gear VR and Oculus Mobile SDK ecosystem. Meta's current devices, Android tooling, performance APIs, package requirements, and diagnostic guidance are different; use current platform documentation for implementation details.

The transcript is auto-generated and occasionally mishears terms such as ADB, Gear VR, VR API, and logcat. The article uses the demonstrated workflow and original chapter structure while correcting those obvious transcription errors.

Published March 10, 2018. Preserved with context. More DevRel work →