Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confirm that library does indeed work when deployed on Hololens 2 via Unity #75

Open
anjelomerte opened this issue Jan 12, 2023 · 1 comment

Comments

@anjelomerte
Copy link

anjelomerte commented Jan 12, 2023

Currently trying to establish a working WebSocket connection with the Hololens 2 as a client (developed in Unity for UWP).

Using my pc as the server and connecting to it (e.g. via ws://localhost:port) from within the Unity Editor (UWP platform) works perfectly fine. However, when deploying to the Hololens 2, the client performs a connection request, throws connection error and closes connection.

This leads me to believe that the library is actually working and the problem might be somewhere else. However, I wanted to make sure and would love to hear from anyone if they can indeed confirm a successful deployment on the Hololens 2 using this library. The internet returns different opinions on this matter...

Love the lib btw, great work!

Edit: It does!

@AmirhosseinAzimyzadeh
Copy link

AmirhosseinAzimyzadeh commented Jun 26, 2024

Could you please share how you solved your problem?
I have the same issue with HoloLens 2 connected to my local network (I am using IP address e.g. ws://192.168.1.1:8000). I tested the same code, and it works on an Android device but not on HoloLens.


Edit:

For anyone that might have the same problem make sure you enable internet access in build settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants