question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DeviceEnumerationAndPairing sample not loading on HoloLens emulator

See original GitHub issue

It crashes on startup due to video casting not being supported. Here’s the call stack:

>	DeviceEnumeration.exe!DeviceEnumeration.DeviceSelectorChoices.VideoCasting.get()
 	DeviceEnumeration.exe!DeviceEnumeration.DeviceSelectorChoices.DevicePickerSelectors.get()
 	DeviceEnumeration.exe!DeviceEnumeration.Scenario1.OnNavigatedTo(Windows.UI.Xaml.Navigation.NavigationEventArgs e)
 	[Native to Managed Transition]	
 	[Managed to Native Transition]	
 	DeviceEnumeration.exe!SDKTemplate.MainPage.ScenarioControl_SelectionChanged(object sender, Windows.UI.Xaml.Controls.SelectionChangedEventArgs e)
 	[Native to Managed Transition]	
 	[Managed to Native Transition]	
 	DeviceEnumeration.exe!SDKTemplate.MainPage.OnNavigatedTo(Windows.UI.Xaml.Navigation.NavigationEventArgs e)
 	[Native to Managed Transition]	
 	[Managed to Native Transition]	
 	DeviceEnumeration.exe!SDKTemplate.App.OnLaunched(Windows.ApplicationModel.Activation.LaunchActivatedEventArgs e)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
oldnewthingcommented, Dec 28, 2018

I’ve asked the feature team to investigate.

0reactions
travelhawkcommented, Sep 1, 2020

That’s quite sad and unfortunately not documented by Microsoft at all. There is a workaround for CastingDevice.GetDeviceSelector(), but creating a casting connection will still fail…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Device Troubleshooting - HoloLens - Microsoft Learn
Stay up to date on the most common solutions to HoloLens device issues and troubleshooting techniques.
Read more >
Hololens 2 emulator troubleshooting - Reddit
Hi. I've installed hololens 2 emulator several months ago. 2-3 times it started fine. Deployed an unity app, etc.
Read more >
Cant deploy to the Hololens emulator.
the Hololens emulator is loaded and working fine. I can move my head etc... in it. but VS appear to not be able...
Read more >
Problem deploying Hololens app to emulator from Visual ...
I am building a simple hololens app using MRTK PalmUpHandMenu, I am able to build the app in unity but not able to...
Read more >
Made for HoloLens - GitHub Pages
Nun Attack Origins: Yuki's Silent Quest Hololens ... The Problem With Memory. ODTÜ Yemekhane ... Device Enumeration and Pairing Sample.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found