- Home /
Vuforia "Could not initialize the tracker" UWP - Microsoft Surface Pro
When running a UWP build on the Microsoft Surface Pro after getting a log:
"Vuforia initialization successful"
I get
"Could not initialize the tracker. Could not initialize the tracker."
and ground plane tracking doesn't work.
However if I run it from inside the Unity editor that is installed on the Microsoft Surface Pro device it works just fine.
Answer by DanVioletSagmiller · May 14, 2018 at 05:33 PM
I have the same issue. An extra bit of info. It gives me those errors in the debug build, but when I run from Visual Studio Debugger, it also finds an error on the Key :
Exception thrown at 0x7468D722 in Stadium AR.exe: Microsoft C++ exception: Platform::AccessDeniedException ^ at memory location 0x03FFE8C0. HRESULT:0x80070005 Access is denied. WinRT information: Access is denied.
for this code:
// Native function invocation
int32_t returnValue = il2cppPInvokeFunc(____licenseKey0_marshaled);
// Line 11360/1 of Bulk_Vuforia.UnityExtensions_3.cpp
It seems like its a licensing error. Maybe it doesn't want us to create App Installers unless we purchase a key (not the free versions) Except when I built this in Unity 2017.4/Vuforia v7.1.31, this didn't happen, and now in 2018.1/v7.1.34, it is giving me those errors.
Can you confirm the same issue is happening, or if you found a way to resolve it stably?
Answer by Souliloquy · May 15, 2018 at 10:22 AM
We didn't resolve the issue, when trying to run the vuforia samples we got a pop up message saying that the hardware isn't supported. We are considering installing Android OS instead of Windows on the Microsoft Surface Pro hardware.
Are you running it as a UWP build, not windows/PC? Unity apps have access to all the Surface Pro sensors. I've tested that directly. I.e. using the gyroscope/etc as via a build to UWP (since it doesn't work in the IDE) and Vuforia claims it supports it. I say claims because I've had an edition working before with picture tags (not ground plane) in UWP and they have UWP called out in specific, but neither have worked win 7.1.34 for me yet.
UWP, we have access to the sensors but the vuforia tracking fails with the error mentioned above.
Your answer
Follow this Question
Related Questions
vuforia for windows 0 Answers
Don't manage to build for windows UWP 0 Answers
Using .NET 4.6 features not supported by Unity WSA Build 2 Answers
How to open a build UWP and Vuforia project? 0 Answers
Build Universal Windows 10 apps. 0 Answers