hololens

Can't deploy to HoloLens emulator

天大地大妈咪最大 提交于 2019-12-07 01:24:46
问题 Just created default project Holographic DirectX11 App (Universal Windows) in VS2015 Update 2 with HoloLens emulator installed and hit F5. HoloLens emulator starts loading, but at some point The emulator is unable to connect to the device operating system: The emulator is unable to determine the host IP address, which is used to communicate with the guest virtual machine. Some functionality might be disabled. I can start emulator from Hyper-V Manager and connect to it, but the screen is not

What is the best way to debug IL2CPP code?

故事扮演 提交于 2019-12-07 00:59:26
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 if that is true and, if so, when that will be coming out. Is anyone doing anything to make this

Filepicker for Hololens: List available filepickers?

て烟熏妆下的殇ゞ 提交于 2019-12-06 14:04:45
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 experiencing a pipe dream, or is there a way to invoke a picker from a list of pickers? For the moment this is a

How to add click action to cursor in hololens

本小妞迷上赌 提交于 2019-12-06 09:02:28
问题 In microsoft hololens ,Added cursor to a button but unable add cursor action ,can anyone help Thanks in advance. 回答1: To add the ability to "click" you can do this with the Input Manager that is built into the HoloLens Toolkit. See here: https://github.com/Microsoft/HoloToolkit-Unity/tree/master/Assets/HoloToolkit/Input Specifically you should add the InputManager prefab to your scene, then add to a script that is attached to an object an implementation of IInputClickHandler. So something

Show device usage consent dialog in Unity app for Hololens

自作多情 提交于 2019-12-06 08:49:17
问题 I'm working on application for Hololens built on Unity. My need is to get some information from phone(android or wp - doesn't really matter) using Bluetooth Service Port Profile . The chosen approach is to make a Hololens act as Bluetooth Host. So I'm using RfcommServiceProvider for this. The simplified sample: _rfcommProvider = await RfcommServiceProvider.CreateAsync(RfcommServiceId.SerialPort); _socketListener = new StreamSocketListener(); _socketListener.ConnectionReceived +=

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

依然范特西╮ 提交于 2019-12-06 07:53:22
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)\Windows Kits\10\References\10.0.17134.0\Windows.ApplicationModel.Calls.CallsVoipContract\3.0.0.0","C:

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

◇◆丶佛笑我妖孽 提交于 2019-12-06 07:20:27
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 GazeManager looks like is working correctly. However I cannot gaze at Slider because it moves with the Camera

Disable Scaling for UWP App

巧了我就是萌 提交于 2019-12-06 07:16:04
Windows 10 automatically applies a scale factor to UWP apps, to give a similar effective pixel size across multiple devices. I want my UWP UI to look the same across any screen of the same resolution, regardless of the scale factor. Is this possible? For instance, when running my app on the Hololens it applies a 150% scale factor. This means the UI looks squished when compare to a desktop screen of a similar resolution (1280x720). A suggestion ( How to disable auto-scaling on UWP mobile ) says to use TrySetDisableLayoutScaling on the ApplicationViewScaling Class . But this doesn't work. The

Hololens Apps Will No Longer Build - Cites Metadata file missing and c-Sharp.firstpass not found

梦想与她 提交于 2019-12-05 06:14:38
I have followed the exact steps Microsoft lists under multiple projects within their Microsoft Holographic - Academy tutorials. I completed them all, and all of them worked just fine from creation to export and testing. This is using Unity3D / C# which gets compiled into a Visual Studio Solution (sln) file. After completing those, I went on to build my own app - which built just fine as well. No problem! Now when I try to build - I get a strange error that the c-Sharp.firstpass file (the exported/cross-compiled dll from what I understand) can not be found. Now even the projects that built

Can't deploy to HoloLens emulator

自古美人都是妖i 提交于 2019-12-05 05:54:33
Just created default project Holographic DirectX11 App (Universal Windows) in VS2015 Update 2 with HoloLens emulator installed and hit F5. HoloLens emulator starts loading, but at some point The emulator is unable to connect to the device operating system: The emulator is unable to determine the host IP address, which is used to communicate with the guest virtual machine. Some functionality might be disabled. I can start emulator from Hyper-V Manager and connect to it, but the screen is not responding to mouse clicks and stuck with start menu (same picture in emulator window if I start it from