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
Related
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
I'm trying to build a very simple UWP app (for PC Desktop only) with a single image target and camera using Vuforia on Unity.
Everything works fine in the Editor, but after I build and run the app I get the following error on a black screen :
I don't even know where to debug this, as the only log I get is this error and nothing else. I also tried delayed initialization, but this same behavior happens when I manually call VuforiaAppllication.Instance.Initialize(); after it's initialized and before it's started.
Here's my build settings :
I'm using Unity 2020.3.30f1 and Vuforia 10.2.5, the only target SDK installed on my system is 10.0.19041.0 and also, I have Visual Studio 2019 Community installed if that info helps.
Fixed by disabling my laptop's webcam from device manager, and connecting an external USB camera.
I'm trying to port my Unity 2019.1 created Steam and mobile game to Xbox One and UWP. I can create a VS project and build and deploy to console. Running "Build and Run" from Unity 2019.1 throws up this error:
D:_Programming Stuff\Unity\output_Data\ionAXXIA_UWP\Il2CppOutputProject\Il2CppOutputProject.vcxproj : warning : The build tools for Visual Studio 2017 (v141) cannot be found. Install Visual Studio 2017 (v141) to build using the Visual Studio 2017 (v141) build tools.
Is it possible to Build and Run from Unity to Xbox console, and if so, what do I need to do to fix this error?
Dunno why I was downvoted. Turns out it was a bug fixed in 2020.1.0a4, 2018.4.10f1, 2019.2.6f1, 2019.3.0b4. So 2019.2 and 2019.3 were fixed but 2019.1 wasn't. A project migration to 2019.2 fixed the issue and didn't cause any other problems with my project.
https://issuetracker.unity3d.com/issues/uwp-building-project-for-visual-studio-2019-generates-solution-that-targets-build-tools-for-vs-2017-tool-set-v141?_ga=2.235968517.563689385.1582629936-2037394333.1563991472
I'm trying to build Unity application for Hololens device on Visual Studio 2017 and I'm getting the following errors:
Metadata file '...\GeneratedProjects\UWP\Assembly-CSharp-firstpass\bin\x86\Release\Assembly-CSharp-firstpass.dll' could not be found
Metadata file '...\GeneratedProjects\UWP\Assembly-CSharp\bin\x86\Release\Assembly-CSharp.dll'
I'm aware of the similar question here but uninstalling and installing the latest versions of both Unity and VS did not help. Neither did starting a completely new project. I'm using now the latest versions of Unity (2017.1.0f3) and Visual Studio 2017 (15.3.0).
I've tried uninstalling both applications. Everything was working fine yesterday but then I downloaded additional components to Visual Studio (ASP.NET) and the Hololens build stopped working. Any idea how I could fix the issue?
I can see the Assembly-CSharp-firstpass.dll in Unprocessed folder under the path it's searching for it and even tried to copy it to the correct path but it did not help. I have also tried to build the project without ticking the Unity C# Projects but I get a different error then.
Update
I found this post on Unity forums and I think it's the same issue I have: https://forum.unity3d.com/threads/net-scripting-backend-and-visual-studio-2017-3-incompatibility.487833/
A workaround for this issue is to manually modifiying The "UAP,Version=v10.0.xxx" to "UAP,Version=v10.0" In the project.lock.json files of the GeneratedProjects.
Other solutions to this problem include a downgrade to Visual Studio 2015, or using the patch that the link you provided has.
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