Forum Discussion
ljubarskij
6 years agoHonored Guest
OVR Metrics Tool (Native Mobile): setOverlayDebugString does not work
Greetings!
I am trying to add some custom debug info to overlay in OVR Metrics Tool and this does not work for some reason.
I am using OVRMetricsToolSDK.aar which is distributed inside OVRMetricsTool_v1.5.1.zip.
I've added this aar to my android project and this is how I try to set custom debug info:
I can also see from logs that Metrics service is running:
Could you please help me with this issue? I would greatly appreciate it!
Thanks a lot in advance!
I am trying to add some custom debug info to overlay in OVR Metrics Tool and this does not work for some reason.
I am using OVRMetricsToolSDK.aar which is distributed inside OVRMetricsTool_v1.5.1.zip.
I've added this aar to my android project and this is how I try to set custom debug info:
MetricsService.bind(getApplicationContext());This does not change anything on the overlay and I cannot see any custom text. Default overlay is running fine and "Display Debug Data on Overlay" is enabled.
while (true) {
MetricsService.setOverlayDebugString(getApplicationContext(), "hello world");
}
I can also see from logs that Metrics service is running:
2020-10-25 19:52:15.534 6866-6866/? D/MetricsService: Connected to metrics service: ComponentInfo{com.oculus.ovrmonitormetricsservice/com.oculus.ovrmonitormetricsservice.MetricsService}
If I use MetricsService.appendCsvDebugString() instead, my custom text is logged, so I assume that communication with metrics service is fine.Could you please help me with this issue? I would greatly appreciate it!
Thanks a lot in advance!
No RepliesBe the first to reply
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
- 3 months ago
- 6 months ago
- 8 months ago