Search code examples
windows-mixed-reality

My HoloLens 2 shuts off if there is too much text-to-speech


I'm creating a training experience using Vuforia Studio for the HoloLens 2. Almost everything works the way it should, there's just one problem. As I stated above, the HoloLens shuts off in the middle of the experience because of the text-to-speech feature being used throughout the experience. I've gotten through up to 23 slides, but then the HoloLens just cut off. That's not even half of the experience. I did some thinking and I thought maybe that it could be a problem with the cache being overloaded and the device needing to reset, but I can't be sure. Has anybody else run into a similar issue and if so how did you fix it?


Solution

  • It turns out the speech app was getting it's cache overloaded, so I wrote in a cache delete for the speech and now it works fine. I just used <$scope.app.speech.cache.delete();>