Comments (2)
Some time ago, we have spent quite a lot of time hacking on the HoloLens 1. Unfortunately networking on that device was a challenge. Basically the HoloLens 1 hardware and Unity use different namespaces for networking-related functions. Specifically, Unity uses the System.Net namespace, while the HoloLens uses Windows.Networking.
This was an infamous pain point among HoloLens developers. The conclusion is that any networking code that works in the Unity Editor and Emulator will not work on the HoloLens device, and vice versa. Thus, you need to use statements like #if !UNITY_EDITOR
to have code that runs selectively, based on where it is running. As you might imagine, this makes debugging very challenging.
In one particular case, we were able to establish a UDP connection using the following Unity project and C# app:
- https://github.com/mbaytas/HoloLensUDP - Unity prefabs etc. (includes links to resources about the networking issue at large)
- https://github.com/mbaytas/QualisysUDP - Little Windows app for streaming from QTM
Unfortunately the HoloLens side of it was not super stable. We even had experiences where changing comments or spaces in the code would break functionality!
It might be the case that these issues are addressed in HoloLens 2, which we have not yet tested. About a year ago, we tried the Magic Leap headset, and we did not have any issues. We have a complete example Unity project for that device: https://github.com/mbaytas/QTM-MagicLeap
from qtm-connect-for-unity.
Thanks for the reply! I didn't find a solution in the end with HoloLens 1, but will consider Magic Leap implementations in future!
from qtm-connect-for-unity.
Related Issues (11)
- Markers stream not working HOT 1
- Is it possible to run files unity without QTM HOT 1
- Couldn't decompress package HOT 2
- File and folder structure does not follow convention
- Selecting streaming components is unergonomic
- Inconsistent member variable naming
- Package manager support
- Example scripts: Different approach to local vs global transformations
- Initial Configuration of QTM - Unity - SDK HOT 3
- Example Operation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtm-connect-for-unity.