vbandi / HL2-ResearchMode

HoloLens 2 research mode experiments.
MIT License
19 stars 2 forks source link

Problems with deploying of repo #4

Open ghost opened 3 years ago

ghost commented 3 years ago

Hello, I wanted to test the application. Unfortunately, I can't get both "HL2DepthPlayground" and "SurfaceInteraction" to work. I have little experience with working with repos, so it may well be that this is the problem. I would like to explain briefly below what problems I am encountering and what I have already tried.

HL2DepthPlayground: In Unity the variables Normal Line Renderer and Point Cloud Viszualizer are not assigned under the GameObject PointCloud and at the object SensorTest I get a NullReferenceException.

SurfaceInteraction: Problems: 1) @deploy I get the following message

The following GlobalManagers were stripped from the build (Either because they're not used or not supported on this platform):
  ClusterInputManager
  UnityConnectSettings

2) After the first scene was loaded i get the following exception: Exception thrown at 0x00007FFBD94C9F5C (KernelBase.dll) in SurfaceInteraction.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080000B, 0x0000000080070490, 0x000000000014, 0x00000058136FCF80). and the output window of Visual Studio says Stopping research mode afterwards. 3) After that I get several exceptions and the following error: (Filename: currently not available on il2cpp Line: -1)

Solution: Since the project is based on petergu684's info, I checked the steps and added the following to the appmanifest: mlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="... rescap"> <rescap:Capability Name="perceptionSensorsExperimental" />

If you could assist me in solving, that would be great. If there are more information need, do not hesitate to contact me.

vbandi commented 3 years ago

Hello @Kilsym ,

The SurfaceInteraction project is actually a work in progress, not yet intended for others to use. I hope to get it working soon. The HL2DepthPlayground project is a bit outdated, but it did work for others. I'll check and see what's wrong.

ghost commented 3 years ago

Thank you very much for the answer. Okay then I will stick with the HL2DepthPlayground and keep experimenting. If there is something I can support you with, I am happy to help.