AR Foundation Does Not Work in Windows Builds - unity3d

I have a Unity AR Fundation Project and my Android build works for AR Foundation. But when I build for Windows, AR Foundation does not work. Because it does not recognize the webcam.
I have reached the answer in the Android output, but I have a problem in the Windows output.

ARFoundation is an abstraction layer for 4 mobile AR technologies:
ARCore XR Plugin on Android
ARKit XR Plugin on iOS
Magic Leap XR Plugin on Magic Leap
Windows XR Plugin on HoloLens
It does not work on Windows at all because there is no AR SDK it could even work with.
This is mentioned right at the very top of the official documentation
Getting AR working on Windows requires other plugins altogether and depends on what AR capabilities you are looking for. E.g. plane detection, face tracking.

Related

Head motion is not working with Hololens 2 after upgrading Unity

I am building an app in Unity for Hololens 2. I have an cube in my scene. With App built using earlier version of Unity, the cube remains stationary relative to the surrounding.
Now I have moved my project from Unity version 2018.4.34.f1 to 2020.3.20.f1(on another desktop).
The scene in front of me remains intact as a function of head motion. If I move my head up, cube also moves up and so on. I would like the object to remain stationary in the scene.
I have installed the OpenXR plugin as well.
What could I be doing wrong ?
After upgrading to Unity 2020.3 LTS, please use the Mixed Reality Feature Tool to import the Mixed Reality OpenXR Plugin and Unity OpenXR plugin and follow this step-by-step guide to setting up your XR configuration: 6. Configure XR Plugin Management for OpenXR. Also, we suggest importing the latest stable version of MRTK and leveraging MRTK Project Configurator to abstract most configures for you.

Unity ARCore XR Plugin package initialization not completed warning after adding package, black screen on android

I'm very new to Unity, and I just followed a few youtube tutorials to try and get started with ARCore. But when I install the ARCore XR Plugin with AR Foundation from the package manager, I get a warning saying
"ARCore XR Plugin package initialization not completed. You will need to create any instances of the loaders and settings manually before you can use the intended XR Plug-in Package."
I have disabled multithreaded rendering and I'm running the APK on realme X, which supports ARCore as per the official device list. On running the basic cube AR application, the app doesn't ask for camera permissions and I'm stuck on a black screen. Is there anything I'm missing?
Unity version 2020.3.0f1 Personal,
AR Foundation 4.0.12,
ARCore XR Plugin 4.0.12
I tried these on multiple versions, only to end up with the same result.
Although the black screen can occur because of many reasons, try to go to
Player Settings -> XR Plug-in Management -> In the Android tab check "ARCore" under Plug-in Providers

Hololens Emulator: Unreal Engine app completely black, though Win64 works

I have taken the "default game" (tables and chairs) of Unreal Engine 4.26, and packaged it for the Hololens emulator using these instructions.
I can launch the latest Hololens emulator (10.0.19041.1136) and install the Unreal application, and an icon shows up for it in the apps panel. But when I launch the app, the entire screen is black. When packaging the application for Windows (64 bit), the application works just fine.
What could be the issue? Older versions of Unreal Engine work fine, in particular I have verified that Unreal Engine version 4.25 works with the emulator.
Other perhaps relevant info: Intel Core i7-5960X, Windows 10 version 1909 build 18363.1440, NVIDIA GeForce RTX 2080 Ti, Version 456.71.
I have also used the Unreal 4.26-chaos engine, completely fresh. I choose a blank project from the Games category, C++, Scalable 2D or 3D, raytracing disabled, mobile/tablet with starter content. Then add the Microsoft Windows Mixed reality plugin and the Hololens plugin. In settings I get a signing certificate and define a project name, using Windows SDK version 10.0.18362. Again, no joy. The same thing, just as a Blueprint, not a C++ project, also does not work.
Also checked Hololens emulator version 10.0.19041.1117. No joy.
We followed all the steps exactly per docs including the “run in VR mode setting” in packaging and reproduced this issue today.
So, we are going to recommend to you to file a defect over with UE 4.26 via Unreal Engine Support | Get Help and Customer Service for UE - Unreal Engine. Besides, you can also open a support case via http://aka.ms/hololenssupport for free to discuss further too on anything we can offer for HoloLens 2 emulator/device:
The issue in the Epic's article. You should enable the "start in VR" option in Project > Description > Settings as from
https://learn.microsoft.com/en-gb/windows/mixed-reality/develop/unreal/tutorials/unreal-uxt-ch6
It was added in 4.26.
And we don't support Unreal 4.26-chaos yet. Please take simple 4.26.

VUFORIA Build Support for Unity

Cannot import Vuforia SDK for Unity.
Unity Version 2019.2.6f1
Unity Hub Version 2.1.2.0
Vuforia SDK for Android Version 8.3
I'm not able to use Vuforia SDK in Unity.When i did the installation there was no downloadable file for Vuforia Android Build Support.
I went to build settings and added Vuforia Augmented Reality Support for Android, Unity just stops responding. Is there any solution or should i just prefer a older version of Unity
In this Unity Version you don't manually import the Vuforia SDK anymore.
It is now the Vuforia Engine AR Package and was moved to the PackageManager.
All you have to do is
open Window → Package Manager
Switch the filter from InProject to All Pakcages
Scroll down or search for Vuforia Engine AR
Hit Install
Unity now automatically downloads and imports this package which you later can find listed under the Packages section in the ProjectView
Or as you probably ment simply tick the Vuforia Augmented Reality Supported* option in the PlayerSettings (which basically does the same)
This should be working with 2019.2.6f1 since I'm currently using it.

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