hololens

Failed to run reference rewriter with command error with unity error when adding a DLL to the assets folder

三世轮回 提交于 2019-12-10 11:29:18
问题 I have encountered this error when I am adding the DAI.dll to the assets folder. this error happens when I try to build. UnityException: Failed to run reference rewriter with command --target="Temp\StagingArea\DAI.dll" --additionalreferences="Temp\StagingArea","C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17134.0\Facade","C:\Program Files (x86)\Windows Kits\10\References\10.0.17134.0\Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract\1.0.0.0","C:\Program Files (x86

Filepicker for Hololens: List available filepickers?

拟墨画扇 提交于 2019-12-10 11:09:06
问题 So HoloLens is stupid in that it only recognizes one FilePicker at a time (no matter how many may be installed). I don't believe the developers are going to try making multiple filepickers work. So, I'm trying to figure out my own filepicker in an attempt to be a proxy-select for other filepickers. In essence, I want to make a filepicker chooser that appears as a typical filepicker (if that makes sense). Trouble is, it doesn't appear possible to get a list of pickers installed! Am I

Saving an Image to Photos Folder In hololens App

大憨熊 提交于 2019-12-09 19:12:39
问题 I'm attempting to capture a photo inside my hololens app. It seems to be working but saving the image to an obscure place that I cant access or view. I want to save it to my pictures library Described here I think. Or where should i save the image so I can see it in my photos on the hololens. filePath = C:/Data/Users/JanikJoe/AppData/Local/Packages/HoloToolkit-Unity_pzq3xp76mxafg/LocalState\CapturedImage10.02831_n.jpg filePath2 = C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles

What is the best way to debug IL2CPP code?

邮差的信 提交于 2019-12-08 08:54:07
问题 With Unity doing away with the .NET scripting backend we have been using the IL2CPP scripting backend so we can get used to it. We have having a very hard time debugging c++ code as the code files created do not use the same method names from the .NET code. More specifically we are developing for the Hololens emulator. I heard that Unity is putting out some sort of debugger that will let you debug managed .NET c# code at runtime even when you use the IL2CPP scripting backend, does anyone know

PhotoCapture.CreateAsync() never executed

大城市里の小女人 提交于 2019-12-08 08:09:42
问题 I'm using the HoloLens and Unity and I try to take a photo. I have the same problem as in this discussion https://forums.hololens.com/discussion/897/locatable-camera-known-issue-photocapture-createasync-doesnt-start This code in a MonoBehaviour in Unity : void Start() { Debug.LogError("CreateAsync start"); Debug.LogError(WebCam.Mode); Debug.LogError(PhotoCapture.SupportedResolutions); foreach (Resolution resolution in PhotoCapture.SupportedResolutions) { Debug.LogError(resolution); } Debug

Call Microsoft Edge inside Hololens app?

泄露秘密 提交于 2019-12-08 04:48:25
问题 Does anyone know is it possible to call or embed Microsoft Edge Window in your Hololens app? For example, I have my Spatial mesh rendered and I'm detecting the flat surfaces. I'd like to be able to call new Edge Window with predefined url whenever I tap on a flat surface. Is there any way to invoke Edge Window this way inside the app? Thanks in advance. 回答1: If you are using Unity, you might be able to use Application.OpenUrl("www.google.nl"); in order to open the standard browser. See: Unity

Call Microsoft Edge inside Hololens app?

淺唱寂寞╮ 提交于 2019-12-07 22:43:27
Does anyone know is it possible to call or embed Microsoft Edge Window in your Hololens app? For example, I have my Spatial mesh rendered and I'm detecting the flat surfaces. I'd like to be able to call new Edge Window with predefined url whenever I tap on a flat surface. Is there any way to invoke Edge Window this way inside the app? Thanks in advance. If you are using Unity, you might be able to use Application.OpenUrl("www.google.nl"); in order to open the standard browser. See: Unity reference OpenURL I am not sure if this will close your application first before opening the browser, but i

HoloLens - UI/Slider and Cursor do not intersect during gaze

ⅰ亾dé卋堺 提交于 2019-12-07 19:32:00
问题 I'm trying to use UI/Slider in Unity app for HoloLens. I used the steps described here - Unity UI on the HoloLens So as a result I have following structure: MainCamera properties: SliderCanvas is using MainCamera : Slider properties: InteractiveMeshCursor is taken from HoloToolkit. As a result I'm getting this picture: When I move the head the Cursor behaves correctly - it stays in the middle of the scene. If I add other 3D objects on the Scene it also correctly changes its states so

Placing objects at set locations in a pre-scanned room

半世苍凉 提交于 2019-12-07 08:25:29
Objective: I have a pre-scanned spatial map of a room. (Carried out through an onboarding process.) We take that map and add holographic locations/markers/digital twins to it in Unity, at pre-defined static locations. E.g wallspace, fittings, etc. The app is then launched and contains all the holographic data in the correct location, irrespective of the users physical start location. In short, I want an app to start, with pre-defined holograms at set locations in the real world, irrespective of where the app is started within that room. I have read lots of tutorials and walkthroughs etc on

Visual Studio failed deploy to HoloLens: Error DEP6957 : Failed to connect to device

旧巷老猫 提交于 2019-12-07 04:56:00
问题 I am having trouble deploying the Hololens Academy module: Holograms (210) to the Hololens device. It will ask for the pin, I enter it and it fails. I can deploy and run in the emulator just fine. I can assure that the computers are on the same network and I leave the Hololens on the pairing screen. Error DEP6957 : Failed to connect to device '172.16.25.29' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings.