Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Help! Unity app has multiple-second freeze on device only

Hi all,

We have a simple Unity Hololens app that involves creating a bunch of prefabs whenever a button is tapped. Unfortunately, the app visuals lock up entirely for up to several seconds, for random durations in either one or more periods, in the frames just after the tap - but only when running on the Hololens headset.

We thought the web request via Unity's WWW class might be responsible, and so added a caching solution to load all data from AssetBundles - still freezes on device.

We thought the object Instantiation might be the problem here, and so added an object pooling solution to instantiate the objects earlier - still freezes on device.

We've tried optimizing as per the official optimization articles, and by removing all spikes from the Unity profiler (making the app silky smooth in the Unity editor) - still freezes on device.

There's no audio, we're using "Simple" Unity quality settings, and we've also just tried calling HolographicSettings.SetFocusPointForFrame after looking for answers on this forum.

What else should we try to fix this problem? Thanks in advance!

Tagged:

Answers

  • Options

    And minutes after typing this out, we realized that the stuttering disappears when building to device in "Release" rather than "Debug" mode. Leaving this up for posterity regardless.

Sign In or Register to comment.