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

Adding MRTK to scene with colliders reduces framerate even when input system not used

Open jackiebecker opened this issue 7 years ago • 2 comments

Adding MRTK v2 to scene, despite not integrating features or doing additional work, caused perf to be eaten up by toolkit.

Notes:

  • MRTKv2 input system active in scene, not being used for anything
  • Hand mesh and joints off
  • Scene has large number of colliders. However, in HoloLens 1 the raycast against those colliders are not impacting perf that much.

Screenshots

Capture1 Capture2

Setup:

  • Unity Version 2019.1
  • MRTK Version v2

Target Platform:

  • HoloLens 2

jackiebecker avatar Jun 13 '19 00:06 jackiebecker

There is no perf hit that is recognizable on HoloLens 1, if that helps.

IsaacSurfraz avatar Jun 13 '19 14:06 IsaacSurfraz

Tried adding MRTK to new scene with 50 spheres. Slight overhead of of 0.2 to 0.5 ms on laptop. Update to latest version of MRTK (as of July 23rd) to see if performance difference now. Without additional information, closing this issue.

Troy-Ferrell avatar Jul 24 '19 03:07 Troy-Ferrell