MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

MRTK v2 Release Candidate 1 How can i delete the status bar for CPU fps, peak, used, Limit ?

Open zxzkf1992 opened this issue 7 years ago • 6 comments

Overview

I am developing a project for HoloLens. When I run my project, a status bar appears, showing FPS, memory usage, and so on. How can I delete this status bar or not display it? 微信图片_20190412154417

Expected Behavior

Actual Behavior

Steps to reproduce

(Links to sample github project preferred)

Unity Editor Version

2018.3.11f

Mixed Reality Toolkit Release Version

MRTK v2 Release Candidate 1

zxzkf1992 avatar Apr 12 '19 13:04 zxzkf1992

Remove the diagnostics profile from the MRTK instance

provencher avatar Apr 12 '19 15:04 provencher

To remove the floating Diagnostics screen from your project: Open MixedRealityToolKit in the Inspector. Scroll down to Diagnostic Systems Settings Unclick Enable Diagnostics System.

ArtieTwelve avatar Apr 12 '19 15:04 ArtieTwelve

I can probably update the doc here to have those steps from @ArtieTwelve as well:

https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/Diagnostics/ConfiguringDiagnostics.html

wiwei avatar Apr 12 '19 16:04 wiwei

@provencher @ArtieTwelve @wiwei Thank you all, I will try it.

zxzkf1992 avatar Apr 12 '19 16:04 zxzkf1992

@ArtieTwelve's steps are correct.

Please note that it is highly recommended to keep the diagnostics profiler enabled during the development of your application so that you can spot performance issues (ex: frame rate below 60) when they are easiest to fix.

david-c-kline avatar Apr 15 '19 08:04 david-c-kline

This document describes enabling the diagnostics system in detail.

https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/Diagnostics/DiagnosticsSystemGettingStarted.html

david-c-kline avatar Apr 15 '19 08:04 david-c-kline