petergu684 / HoloLens2-ResearchMode-Unity

Unity Plugin for using research mode functionality in HoloLens 2. Modified based on HoloLens2ForCV.
MIT License
202 stars 59 forks source link

Any success with newer Unity versions? #22

Closed rossTnick closed 2 years ago

rossTnick commented 3 years ago

I'm trying to run the point cloud sample, and it runs, but I never get any of the feeds showing anything. It's almost like it isn't actually using / loading the plugin, but can do everything else. I'm trying this with Unity 2021.1.12f1. Thanks for any insight.

rossTnick commented 3 years ago

Got it working! Had to define ENABLE_WINMD_SUPPORT in the Unity preprocessor settings, but then add #if UNITY_EDITOR wrappers around any of that code to prevent the editor from throwing errors.