Sep 13 2023 06:21 AM
Hello. I have some small issues while trying to connect to Hololens2 Device Portal API.
I am using Unity 2020.3.35f1 and MRTK 2.8.2.0.
I'm trying to connect to DevicePortal API with c# script. I'm using WebRequest class. The main problem is that everytime I'm trying to get response on application that is deployed to Hololens2 device I have error "the operation has timed out". The same code works perfectly in Unity, but not in hololens2 device. I'm sure that URI is correct and all parameters inside WebRequest are correrct too. On player settings I have turned on capabilities:
- internet client
- internet client server
- private network client server
Any help?
Sep 13 2023 07:03 AM