Developing oculus application in Unity using mrtk,no display when streaming debugging - unity3d

I am creating a VR application for Oculus Quest using Unity3D.And I am trying to speed up the process using MRTK,but when streaming debugging in Unity Editor,there is no diaplay.But when I build a package whether a PC package or an apk,it runs normally.What should I set up in my project?

For Debug, you can use DebugWindow. With it, you can see the log on the hololens device.

Related

How to build and run VR application developed in Unity on HP Omnicept Reverb G2?

absolute VR dev newbie here.
As stated in the title, how can I "build and run" VR application developed in Unity on HP Omnicept Reverb G2 headset? In other words, how can I turn my Unity project into an .exe or apk (not sure what is the correct file format)? Then how can I load this .exe file into my HP headset and run it?
I have experience developing VR applications for Quest2, and I remembered building my Unity project into an apk, and then load it into Quest2 through Sidequest. However, I have no idea how I may do the same thing but with HP headset...Please help!!! Thanks
In Unity, you can choose to build for Universal Windows Platform, please refer to Set up a new OpenXR project with MRTK - Mixed Reality | Microsoft Learn. Then refer Using Visual Studio to deploy and debug - Mixed Reality | Microsoft Learn to deploy the application to the PC via Visual Studio, and run the application via Windows Mixed Reality on the PC. This document may be useful to you - Unity development for VR - Mixed Reality | Microsoft Learn.
It turns out that to run the application, you simply double click the .exe file on your desktop...I wasn't able to run the .exe file due to a problem in my own PC. I swicthed to another PC and everything works fine.

Failed to start Vuforia on Unity UWP executable build

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.

"Unable to start Oculus XR Plugin" error when starting game in Unity

I am currently developing a 3d VR game for Oculus Quest headset on Unity (v 2019.3.6f1)
Whenever I start the game in Unity editor (by pressing "Play" button) I get the following errors :
Unable to start Oculus XR Plugin.
Failed to load display subsystem.
Failed to load input subsystem.
XR Plugin is installed and updated to the latest version (1.2.0) :
What could be the cause of those errors ? Thanks in advance for your answers.
In XR plugin Management (Edit > Project Settings > XR Plugin Management) remove the Oculus Loader from the Plugin Providers in the Windows (PC, Mac & Linux Standalone settings) Tab. List should be empty. That fixed it for me.
Launching problem was resolved by removing Avatar object from my scenes.
I needed to start the Unity project after opening up the oculus app and link, ie:
Open Oculus PC App
Connect headset
Open Unity Project
0: Turn on headset
1: Enable developer and usb-LINK
2: Open Unity project
3: Launch game

Direct deploy from unity to hololens emulator

Is there any way to direct install from unity to hololens emulator ?
I want to hit unity play button and hololens app get install and run on emulator.
Its very hard to for each test build unity project and then run built visual studio project on emulator.
I also used Mixed Reality Portal but it doesn't show real scales, scales are very smaller than hololens device.
You can try the Holographic Emulation feature provided by unity(https://docs.unity3d.com/560/Documentation/Manual/windowsholographic-emulation.html), and download the Holographic Remoting Player from the store in the simulator.
After successfully connecting to your simulator, you can run the Microsoft HoloLens project directly in the Unity editor rather than building and running the game each time you want to see the effects of the changes.

Vuforia augment reality windows

Can you please tell me, if vuforia can run on a PC? I have tried to make an .EXE file, but it does not work.
Please tell me how can I run vuforia apps on my PC? Should I build it for Windows store using Unity and then run it on Windows 8?
Can you please tell me vuforia can run on pc
Answer is No. You cannot build windows or mac app with Vuforia. Vuforia is only supported on Mobile Platforms (iOS, Android).
But you want to test on Windows, you can run your app and test in unity Editor mode with webcamera attached. I hope it will answer your question.
download unity from the unity website , install & run
download vuforia and vuforia sample for unity on vuforia website
create unity project and add vuforia package to the project
There are some tutorials for you for importing the samples and ofcourse you need to get a key with the name of your project.
Have a look at this https://www.youtube.com/watch?v=HnjbTytHH6U
For now, and without plugin, the answer is no. But,
Vuforia is work on supporting win 10, so maybe months later, you can develop a win 10 universal app.
There is some plugin support build the app for windows and Mac, it costs much money. The plugin is provided by maximarouf
As the answers above, I agree that it is enough to run in unity editor for presantation and test.
Vuforia now has a Windows 10 Early Access Program. You can apply for participation and may get access to the Windows 10 UWP SDK.
However, it currently only supports Intel based devices, like the Surface Book and Surface Pro series.
Alternatively, you can use the Unity3D Plugin to build an app which works on Windows.
No vuforia is not supported . U will get Vuforiawrapper.dll missing error when you try to .
Instead what you could do is , make an APK , Download Bluestacks and install it in PC and emulate your vuforia app in PC . But no Vuforia is not made for PC. It supports UWP though which means Windows Tablet , Windows Phone, Hololens .