Hololens AND Unity3d, UnityEngine.VR.WSA not found - unity3d

Went to build Holoworld.
Unity3D Compiler not finding UnityEngine.VR.WSA.Input
Running Unity 5.2, now upgrading to 5.3.3f1. (Personal edition)
Installed: Windows 10 SDK, Visual Studio 2015 Update 1
Any ideas?
So this is just a tease?

I think UnityEngine.VR.WSA.Input will be part of the HoloLens SDK, which is not available yet.

You need a special version of Unity for Hololens. It is already public, and it is based on the 5.4.0b10 beta version but it is not the same, so go to the proper page to download it: http://unity3d.com/es/pages/windows/hololens#download

Related

unity exits when clicking the play button after adding MRTK packages

I have a problem in development of mixed reality app and there has been 2 days that I'm stuck.
My problem is that after adding packages of MRTK to the unity project, if I click the play button, the unity exits (closing) without any error massages or warning.
I tested two versions of unity (2020.3.32f1 and 2020.3.33f1) and both had the same problem.
I am using this link (MRTK document) and also this one Mixed Reality Feature Tool as a guide for configuration and adding the packages of MRTK to my project.
I have also tried two different versions of the packages i.e. (Mixed Reality Toolkit Foundation and Mixed Reality Toolkit Extensions both versions of 2.7.3 and 2.7.2 and for Mixed Reality OpenXR Plugin package I tried 1.4.0 and 1.3.1 versions).
I am using Visual Studio 2019 version 16.11.14
Inside Unity, I am choosing Universal Windows Platform from the Build Settings and I want to practice a little development of mixed reality applications, but I am stuck at the beginning and when ever I press the play button the unity exits (closed) without any warning or error.
Just for more information → I don't have Microsoft Hololens2, therefor I am considering to use Windows Mixed Reality simulator (Mixed Reality Portal).
I can't get what mistakes I am doing, please if you have any idea help me.
Thanks in advance.
There are many steps to configure a Unity Project for Mixed Reality. According to the description, it is hard to determine which step causes the issue. I have created a repository which is implemented with the necessary MR packages, and the configuration has been done. Feel free to pull the repo from https://github.com/sethdu0525/MR-Blank-Project. Please open it and click run to test.
If you still have this issue, you may need to have a clean installation of Unity 2020.3.33f1 (LTS), Visual Studio 2022 and make sure all the required components have been installed, including a comparatively new Windows SDK.
If you have a dump file for the crash, you may also share it and find support from Unity forum -- General Discussion - Unity Forum

Unity HoloLens 2 deployed App stuck loading

I am trying to deploy an app from Unity 2020.3.32f1 to the Hololens 2 with Visual Studio 2022 over USB. Everytime I try to deploy the app, it builds and deploys through visual studio correctly before it begins to load in the Hololens, it then gets stuck on 4 spinning spheres and remains here until I open the start menu and click home.
I have tried building an app following the process defined here https://learn.microsoft.com/en-us/learn/paths/beginner-hololens-2-tutorials/ and still end up stuck trying to load the app with 4 endlessly spinning white spheres.
I am using MRTK 2.7.3 & Mixed Reality OpenXR Plugin 1.3.1 installed from the Mixed Reality Feature Tool
Unity 2022.3.32f1
Visual Studio 2022
The previous project I was working with using MRTK 2.5.1, Unity 2019.4.28f1, visual studio 2022 and no OpenXR, with all the same settings works perfectly.
Below are the Build and Player Settings I am using
Build Settings
XR Plugin Management Settings
OpenXR Settings
This is fixed in Unity 2020.3.33f1 which was just released.
A workaround was given by disabling the Splash screen in the Unity Editor.
Here the release notes.
https://unity3d.com/de/unity/whats-new/2020.3.33
And the bug tracker entry.
https://issuetracker.unity3d.com/issues/app-doesnt-launch-on-hl2-uwp-after-update-to-2020-dot-3-32f1
I tried it by my self and it worked.
My Environment:
Unity 2020.3.33f1
MRTK 2.7.3
Visual Studio 2019
OpenXR Plugin 1.3.1
XR Plugin Management 4.2.1
I have this exact same issue. Same version of unity & using Visual Studio 2022. Everything was working with Unity 2020.3.20f1 => Upgrade to 2020.3.32f1 and the problem (infinite loading spheres) occurs.
Reverting back to version 2020.3.20f1 & clearing the build folder has fixed the issue for me.
Apologies for not giving any understanding as to why this may be occurring, I can only inform you that reverting to a previous unity build will more than likely fix the problem (As you are probably aware).
Same here, Unity 2020.3.32f1c1

Mapbox SDK for new versions of Unity

Happy new year!
What is the procedure to import Mapbox SDK successful in latest versions of Unity (2020+). Are there extra components that need to be installed? Thanks.
I'm using Unity 2020.3 LTS and when importing the Mapbox package, if you don't need AR tools, you can remove the GoogleARCore, MapboxAR, and UnityARInterface folders and it works fine.
Download Package From here and import.
In unity, go Mapbox menu item, and past your map box key/token.
Open an example see from Mapbox > Examples and play
Congrats! MapBox installation has completed. For more details info visit offical docs.
New versions of Unity (2019.4 and 2020) are NOT supported.
If you download the package you get all kinds of errors.
Yes. This is true. There are severe issues with Mapbox Unity SDK with Unity 2020. It works fine with Unity 2018.4 LTS version and 2017 LTS version. I think Mapbox SDK is not compatible with ARFoundation that's why whenever your import this SDK in Unity 2020, you get errors in hundreds and thousands of warnings. SO stick with Unity 2018.

Unity asking NDK version that is no longer available

The version of NDK Unity asking me to install is not on google site NDK Versions. The only one available is r19 version 19.2.5345600 but unity app is asking for r19 version 19.0.52321"
Image of the problem
Yeah, I know the problem can be solved by using Unity Hub but the reason I am not using that is because Unity Hub takes forever to download anything and my connection is slow. Unity Hub times out a lot and I have to install the entire unity 3D software and all of the external tools using it in order to download the NDK using Unity Hub. Currently, Unity doesn't allow you to add modules if Unity 3D is not downloaded using Unity Hub.
I have tried installing NDK r18 and r20 but that doesn't work, same problem.
So can anyone please help me?
You could try spoofing your NDK version, though this may cause unexpected behaviour. In Android ndk-r19c, modify source.properties such that:
Pkg.Desc = Android NDK
Pkg.Revision = 19.0.5232133
If you have Android Studio installed, (or can access via sdk manager, I guess )You can download the ndk version requested by Unity (r19 - 19.0.5232133) using the SDK manager.
Note: you have to uncheck the hide obsolete packages option

Tango Unity Examples Not Building

I have been trying to build and run the tango unity example on my new tango device and it doesn't seem to be working. As soon as the app launched the app crashes on my device. It just says Unfortunetely, Unity Examples has stopped.
I also tried to run a simple app with Tango AR camera and got the same result.
I am running Unity 5.4.0f3 (64-bit) with Android Studio 2.1.2. I installed all the tools on the Surface Book (Windows 10) on 8/1/2016
As stated on the Tango developers group on G+, Tango SDK does not support Unity 5.4 yet, you need to download 5.3.
Hi Devs,
Unity released version 5.4 last week. As a result, Tango development is broken. The team is aware of the issue is currenlty working to address the issue this month. In the meantime, the only workaround is to stay on Unity 5.3.
Thank you for your patience everyone.
https://plus.google.com/+ProjectTango/posts/N9DEz2RKZSb