Start a new topic

Windows Native SDK Examples not Working

We are currently facing problems running the Windows native SDK examples.

We can build the SDK examples and run it on our target device, but get errors when selecting the individual example entries.


Hardware:

Surface Pro 3

Intel Core i5 -4300U (x64)


Software Versions:

WikitudeSDK_NativeAPI_UWP_8-5-0_2019-05-23_01-24-06

Windows 10 Pro - Version 10.0.18362

Visual Studio 2017 15.9.10



After starting the App wo get the following error output:

onecoreuap\drivers\mobilepc\sensors\convergence\common\pnpmanager\pnpmanager.cpp(755)\Windows.Devices.Sensors.dll!00007FFCC0ABDF36: (caller: 00007FFCC0AACAB8) Exception(1) tid(2f74) 80070490 Element not found.
Exception thrown at 0x00007FFCDC27A839 in NativeSDKExamples.exe: Microsoft C++ exception: wil::ResultException at memory location 0x0000006BCB1FC1C0.
Exception thrown at 0x00007FFCDC27A839 in NativeSDKExamples.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
onecoreuap\drivers\mobilepc\sensors\convergence\common\pnpmanager\pnpmanager.cpp(755)\Windows.Devices.Sensors.dll!00007FFCC0ABDF36: (caller: 00007FFCC0AAC968) Exception(2) tid(2f74) 80070490 Element not found.
Exception thrown at 0x00007FFCDC27A839 in NativeSDKExamples.exe: Microsoft C++ exception: wil::ResultException at memory location 0x0000006BCB1FC1C0.
Exception thrown at 0x00007FFCDC27A839 in NativeSDKExamples.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
onecoreuap\drivers\mobilepc\sensors\convergence\common\pnpmanager\pnpmanager.cpp(591)\Windows.Devices.Sensors.dll!00007FFCC0ABDFD5: (caller: 00007FFCC0AAA56F) Exception(3) tid(2f74) 80070490 Element not found.
Exception thrown at 0x00007FFCDC27A839 in NativeSDKExamples.exe: Microsoft C++ exception: wil::ResultException at memory location 0x0000006BCB1FC0E0.
Exception thrown at 0x00007FFCDC27A839 in NativeSDKExamples.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
The thread 0x2190 has exited with code 0 (0x0).
ERROR SensorGetFifoMaxSizeV2:PropKeyFindKeyGetUlong failed to get type!:0xC0000225
ERROR SensorGetSupportedDataFields:Sensor stack not correctly initialized!

  

When we choose an example in the sidebar menu, the menu does indicate that the example is selected but the UI does not change and still displays the SDK Information screen.

The following debug log was printed when selecting "Imagetracking -> Simple":

onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFCD57304B0: (caller: 00007FFCD57301F5) ReturnHr(8) tid(810) 80070490 Element not found.
onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFCD57304B0: (caller: 00007FFCD573017A) ReturnHr(9) tid(810) 80070490 Element not found.
onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFCD57304B0: (caller: 00007FFCD57301F5) ReturnHr(10) tid(810) 80070490 Element not found.
onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFCD57304B0: (caller: 00007FFCD57301F5) ReturnHr(11) tid(810) 80070490 Element not found.

 Similar logs appear on all the other examples with slight variations in count and e.g. returnHr numbers


Hi Thibault,


thank your for checking our problem. Sadly a full reboot of the tablet did not help, but we got access to a current gen Surface Book where we had no problem running the SDK examples built by us.


Seems our inital device is not compatible with wikitude.


Is there a Surface generation/device from which on the Wikitude SDK is guaranteed to work, so we know the range of devices we can expect to target?


Best Regards,

Mark

Hi Mark,

Unfortunately, we're unable to reproduce on our hardware.

By any chance do you have more recent hardware that you could try our samples on ?

By the past we also noticed that the IMU sensors of a surface pro 4 could be in a weird state requiring a full reboot of the tablet. Did you tried that ?

Best Regards,
Thibault

Login or Signup to post a comment