MRTK Unity
37 TopicsUnity App Stuck Loading On HoloLens 2
I am following this document andthis tutorialto test AR on a HoloLens 2, and I go to the part where I have a Unity game with all the proper setup (ie. build settings are correct, I used Unity AR feature tool, etc.) and with 2 squares. I built the project and opened the solution, and then I set the configuration to "Release," platform to "ARM64," and set it to "Device" because I have the HoloLens directly connected to my laptop. I selected the Unity app solution and right-clicked it to "Set as Startup Project." Then, I pressed the green button next to "Device" to build and deploy it. The first time, I got prompted to enter a pin after a bit, which I did, and once the deployment was done, the app showed in the "All Apps" section, but once I clicked on it, I got a window that had a white background with a box with an X in the middle of the screen. On top, there is a blue circle with a white loading circle that was loading for forever. I tried rebuilding it multiple times, recreating the Unity project in a new project, and double-checking my Unity build settings, but those were correct. How can I fix this issue? I'm using Unity version 2022.3.20f1. Thank you, Avinash Devineni Edit: Now it started doing the environment scanning visual, but still shows a white box, although there is no blue loading circle anymore. I didn't change anything or redeploy it to the HoloLens 2, so I'm not sure why it started doing something different.232Views0likes0CommentsHand Gestures not working on HoloLens 2
Hi folks, I created an MR application on HoloLens 2 and was working fine. One day, the device went to sleep when the application was running and when i turned on the device again, the hand gestures (scaling, positioning and rotating) are not working at all. And also, the issue occurred on every app i made with Unity before. I did factory reset on the device and even then its not solved. I have two HoloLens with me and both of them are having this hand gestures issue now. I'm in a desperate situation. Please help me out with a solution for this...Objects not anchored in Hololens 2 after building from Unity
Hello all, I hope I found the right spot to put this. I am having an issue with porting one of our apps from Magic Leap 2 to Hololens 2 in Unity. After setting up MRTK into the project and hooking a few things up, I build the project for UWP and deploy to the device. When running the app, all objects in the scene move with the camera instead of staying anchored to their position. If I setup MRTK in an empty project and deploy, objects in the scene however are anchored appropriately. I am not sure what is possibly causing this, but I imagine there is some setting or error within my project. I do not have much experience with Hololens development. Things I have tried: -Disabling unnecessary DLLs from being loaded for UWP -Fixing any exceptions thrown shown in the Player Log file -Updating any conditional compilation tags so code from other platforms do not run unintentionally -Checking MRTK project/build/prefab settings against empty project that is successful Perhaps someone here is aware of what triggers this and could potentially point me in the right direction. I am using Unity 2022.3.11. Thanks in advance!419Views0likes0CommentsBuild error"The local machine does not support running projects complied for the ARM64 architecture"
Hello, I've been getting errors recently where I cannot build an ARM64 project for UWP on Unity3D. On Unity, it states in the build settings that"The local machine does not support running projects complied for the ARM64 architecture". And when I try to actually build the application, I get these error messages (second image). I have all the correct packages from Visual Studio 2022 and this still doesn't work for me. Does anyone know what the issue is? Thank you!Error when deploying app to hololens 2 using Visual Studio 2022
Hello all, I am a new user with Hololens 2. I started my first project with the first tutorial athttps://learn.microsoft.com/en-us/training/modules/learn-mrtk-tutorials/1-1-introduction. Unfortunately, I could not finish the last step to deploy the tutorial to my hololens 2. It showed the following errors when building by VS 2022. Could you please help me. Thank you.628Views0likes0CommentsHoloLens 2 cannot stablish wired connection using USB cable or ethernet-type C adapter.
Hello everybody, In the company I work for, we have been developing a HoloLens 2 using Unity 2019.4.24 and MRTK 2.6.1 from about 5 years (we started in HoloLens 1) that basically connects to a PC software and sends and receives (using websockets) data to be rendered in the HoloLens. A year ago, I made research to see if we can use a wired connection to perform the communications, and it used to work. The setups I have tried (everyone used to work): Connect the HoloLens to the PC using the USB cable and having the device portal enabled. Using an ethernet to type C adapter, connect the HoloLens to a router using an ethernet cable, the PC is also connected to the router through ethernet. Using an ethernet to type C adapter, connect the HoloLens to the ethernet port on the PC, in this scenario I needed to set an IP address and the submask in the PC and the HoloLens. From my app side, everything worked without need to add special code to handle the wired connection. Last week one of our costumers told us that he is not able to use the wired connection (he was using the scenario 1), so, after I get the ticket, I tried to replicate the setup, for my surprise none of the setups were working. I restored the HoloLens device to the factory settings, doing this only scenario 2 works. Besides this client, 2 of my colleagues are reporting the same issue, all our HoloLens have the OS version: 20348.1542, we have tried and old version of our app when I did the research, the app is not working so I’m assuming this could be a bug in the OS. Other things I have noticed: The HoloLens is unreachable if I try to do a ping in scenario 1 a 2 (scenario 2 is reachable after restoring the HoloLens) In all scenarios the IPv4 is not shown/assigned, if I try to assign the IP manually in the IP assignment settings the configuration is not preserved, once I press “Save” and return to the previous screen, it remains “Automatic (DHCP)” and when is saved, the ping cannot reach the HoloLens from the PC. When I connect the cable 2 ethernet adapters are displayed (as far I remember there was only one). When the cable is not connected there’s still one ethernet adapter but cannot set an IP manually. I was looking the way to try to perform a ping from the HoloLens, I was trying to use an app (DL Networks monitor) to see if the HoloLens is connected properly to the network. As I mention above, this seems to be an issue to the Operating system, Where can I report this? The last idea to try to fix this is to downgrade the HoloLens to an older version of the OS and look if the wired connection works.1.3KViews0likes0CommentsDo you have ideas for software/plug-ins/ librairies for collaboration with the Microsoft Hololens 2?
Hi ! I'm doing my bachelor project with the Microsoft Hololens 2, specifically I'm doing a technical analysis regarding the different toolkit/plug-ins/software available for doing collaboration (not remote collaboration but local). I'm especially looking for some that work with unity as this is the software I'm using to build/deploy my applications on the Hololens. Here's is some of my research, if you have comment regarding it or you maybe think that it can be good to add something I would gladly discuss it with you. As you see did find all unity supported plateforms, so even if it's not for unity I will gladly take your recommandation. Best regards