hololens

MRTK (V2) Need to update Hololens?

浪子不回头ぞ 提交于 2019-11-30 05:39:57
问题 I'm trying to check out the new MRTK (V2) but I had been having troubles making the build, first on Unity which make me download the Windows SDK 18362, now I'm trying to continue the build on Visual Studio 2017 for testing but it brings me this error: To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.18362.0 or higher. You currently are running version 10.0.17134.80. Please update your OS, or change your deployment target to a device

How to build and deploy a working unity app with MRTK v2 RC for HoloLens 1?

爱⌒轻易说出口 提交于 2019-11-29 17:46:29
The problem To sum up, both Unity and Visual Studio 2017 builds the project, deploys the project, but once opening the app, nothing appears, not even a Unity splash screen. However making the bloom gesture on HoloLens proved that the app is "open" and closable, but that's as far as it gets. What we tried Our deployment target is a HoloLens 1 running the latest OS for said device (10.0.17763.380). We went through the provided solution here: MRTK (V2) Need to update Hololens? As can be seen in below image: NOTE: Images below shows Visual Studio 2019, but we tested both cases with Visual Studio

The type or namespace name 'Windows' could not be found

流过昼夜 提交于 2019-11-29 17:36:02
I am trying to use filepicker for my hololens app. But I can't use it because my project can't add the 'windows' reference. When I write using Windows.Storage The type or namespace name 'Windows' could not be found -- This error message appears with red line under Windows. I tried to add reference with reference manager, but I can't find anything such as Windows at the Assemblies - Framework. Can anyone help me on this? Thanks! Win 8.1 SDK was missing for me, so got the error. Try below steps: Download and Start the "Visual Studio installer" Click on the "Modify" button Click "Individual

Hololens- Failed to Connect to Device

自作多情 提交于 2019-11-29 14:54:48
I realize this question was asked elsewhere, but the answers seem to direct towards the paring process between Hololens and a PC, which is part of my problem. I made an app in Unity and exported to Visual Studio. When I try to run it on the Hololens, I get this error: Error DEP6957 : Failed to connect to device using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. I understand that the first time you run, you should be prompted to pair both the PC and the device, but I never got this request, and I have no field to

Hololens- Failed to Connect to Device

孤人 提交于 2019-11-28 08:53:15
问题 I realize this question was asked elsewhere, but the answers seem to direct towards the paring process between Hololens and a PC, which is part of my problem. I made an app in Unity and exported to Visual Studio. When I try to run it on the Hololens, I get this error: Error DEP6957 : Failed to connect to device using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. I understand that the first time you run, you should be

Use Daydream Controller on HoloLens or outside Daydream?

亡梦爱人 提交于 2019-11-27 14:09:43
问题 The daydream controller is awesome and we want to be able to use it in my AR app. It pairs via bluetooth to the HoloLens just fine, but not sure if I can view it in Unity. Both HoloLens and daydream require their own Unity technical previews. The gvr Controller code is online but seems to speak directly to GVR C api. Any thoughts on if accessing daydream controller in Unity outside the daydream tech preview is even possible? 回答1: It is very possible to access the daydream controller without

WWW/UnityWebRequest POST/GET request won't return the latest data from server/url

梦想与她 提交于 2019-11-27 09:32:21
I am creating a HoloLens app using Unity which has to take data from a REST API and display it. I am currently using WWW datatype to get the data and yield return statement in a coroutine that will be called from the Update() function. When I try to run the code, I get the latest data from the API but when someone pushes any new data onto the API, it does not automatically get the latest data in real time and I have to restart the app to see the latest data. My Code: using UnityEngine; using UnityEngine.UI; using System.Collections; using System; using Newtonsoft.Json; using System.Collections

WWW/UnityWebRequest POST/GET request won't return the latest data from server/url

試著忘記壹切 提交于 2019-11-26 14:47:40
问题 I am creating a HoloLens app using Unity which has to take data from a REST API and display it. I am currently using WWW datatype to get the data and yield return statement in a coroutine that will be called from the Update() function. When I try to run the code, I get the latest data from the API but when someone pushes any new data onto the API, it does not automatically get the latest data in real time and I have to restart the app to see the latest data. My Code: using UnityEngine; using

Using Resources Folder in Unity

隐身守侯 提交于 2019-11-25 22:05:50
问题 I have am developing a HoloLens project that needs to reference .txt files. I have the files stored in Unity\'s \'Resources\' folder and have them working perfectly fine (when run via Unity): string basePath = Application.dataPath; string metadataPath = String.Format(@\"\\Resources\\...\\metadata.txt\", list); // If metadata exists, set title and introduction strings. if (File.Exists(basePath + metadataPath)) { using (StreamReader sr = new StreamReader(new FileStream(basePath + metadataPath,