Showing results for 
Search instead for 
Did you mean: 

OVR Metrics Tool (Native Mobile): setOverlayDebugString does not work

Honored Guest

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

I've added this aar to my android project and this is how I try to set custom debug info:
while (true) {
MetricsService.setOverlayDebugString(getApplicationContext(), "hello world");
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.
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!