The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Hologram Sharing (Holograms 240 tutorial) inconsistent/2 player functionality/limitations?
I have a two part question-
1. I followed the Holograms 240 tutorial precisely through chapter three as I wanted to get hologram sharing working in order to build a 2 player Hololens game. In order to get the energy hub to be placed and have the animation start upon the first player's air tap, I had to edit code in Gaze Manager script from:
upon recognizing an air tap, because I realized that the "focusedObject" was coming up as the "base" or "leg" or some other component of the EnergyHub. The Hologram Placement script, which includes the OnSelect() method that is attempting to be called above, is attached the EnergyHub game object and not its children, such as the base, and leg. Therefore the original line wasn't working because the base had no Hologram Placement script, so the OnSelect method had no receiver, so nothing happened upon air tapping when attempting to place the hub. I am curious why I had to edit this code in order for it to work- it makes me thing there is something wrong with how I set up my program, but I followed the tutorial's instructions.
After I changed the code, I was able to successfully place the energy hub, but when I opened the app on my second hololens, even after successfully connecting to the server on the correct port (I could see both IP addresses added on the Sharing Service window), the hub was not always located in the same spot as where I placed it on the first hololens. It works occasionally, but most of the time they seem to be a few feet apart and some of the time the hub actually moves even after it's initially set. Why is this? Is there any way to fix this issue? It's very inconsistent.
- I understand that using the hologram sharing, 2 users are supposed to be able to see the same hologram in the same location but I'm curious if they can view an entire game happening, locked into world space, in live time. For example, is the animation on the energy hub synced and happening at the exact same time for both users when it is shared? Or are the animations playing individually, and just the location of the hub is what is shared. If the later is true, is there anyway to have a game occur and have both users see what is going on in live time?