jdibenes / hl2ss

HoloLens 2 Sensor Streaming. Real-time streaming of HoloLens 2 sensor data over WiFi. Research Mode and External USB-C A/V supported.
Other
192 stars 49 forks source link

The type or namespace name 'Audio' does not exist in the namespace #83

Open AdaZhao1211 opened 6 months ago

AdaZhao1211 commented 6 months ago

First of all, thank you for this great tool. I am using MRTK3 and your Unity plug-in. When I included the plugin in my scene, I encountered an error saying

The type or namespace name 'Audio' does not exist in the namespace 'Microsoft.MixedReality.Toolkit' (are you missing an assembly reference?)

in RemoteUnityScene.cs. I noticed that the Microsoft.MixedReality.Toolkit.Audio is offered only by MRTK2 but not 3 so I wonder how I can make it work under MRTK3.

Thanks

jdibenes commented 6 months ago

Hello, You can just delete the TTS stuff from the script as a workaround. Delete lines 325 and 7.