Log in or register to post comments

Error when running uwp sample in window 10

February 2, 2017 - 1:30am #16

I try to run vuforia uwp sample in window 10 and get the error when sample invoke function: Vuforia::init();

Exception thrown at 0x7525A832 in ImageTargets.exe: Microsoft C++ exception: Platform::AccessDeniedException ^ at memory location 0x064FEADC. HRESULT:0x80070005 Access is denied.

WinRT information: Access is denied.

Stack trace:

[External Code]

Vuforia.dll!0fce4b42()

Vuforia.dll!0fdc69ce()

Vuforia.dll!0fdc942e()

Vuforia.dll!0fdc96e6()

Vuforia.dll!0fdef63a()

Vuforia.dll!0fdef1f0()

Vuforia.dll!0fde4d10()

I downloaded sample from this link https://developer.vuforia.com/downloads/samples, used Vuforia 2.6.2 and config follow this link https://library.vuforia.com/articles/Solution/Working-with-ImageTargets-in-Visual-Studio-2015.

Please help me if you know the reason of this problem

Thanks !

 

Error when running uwp sample in window 10

February 11, 2017 - 4:38pm #15

Same here.  I downloaded the SDK and Samples straight from the website and get this on the first one I try.  Not super encouraging.  Anyone have a resolution? Or, am I going to need to figure this out on my own?

Error when running uwp sample in window 10

February 13, 2017 - 1:07am #14

Nobody of vuforia wants to help developers? Or nobody of vuforia read forums? Or vuforia has looooong holidays?

Error when running uwp sample in window 10

February 16, 2017 - 2:09am #13

Got same problem !!!

Error when running uwp sample in window 10

April 20, 2017 - 11:56am #12


  • Which Windows 10 tablet device are you running on?
  • Which build/platform configuration settings are you using in Visual Studio?

Error when running uwp sample in window 10

May 3, 2017 - 9:46pm #11

Got same problem!!!

Windows10 debug/x86

Error when running uwp sample in window 10

August 10, 2017 - 2:44am #10

I have the same problem, does anybody have a solution ? I get exactly the same problem

Error when running uwp sample in window 10

August 23, 2017 - 1:47pm #9

Same problem. Any progress ?

Error when running uwp sample in window 10

October 10, 2017 - 12:34am #8

Same problem for me.

I'm running the Unity 2017.2 Beta with Visual Studio Enterprise 2017 on a Windows 10 Pro PC with all the latest Updates.

 

I think it's really time for Vuforia to respond to this...

Error when running uwp sample in window 10

October 10, 2017 - 11:45am #7

dm3d wrote:


  • Which Windows 10 tablet device are you running on?
  • Which build/platform configuration settings are you using in Visual Studio?

We have not been able to reproduce this issue. Providing the information above is the best way to assist us in reproducing it so we can provide a solution.

Thanks,

-Vuforia Support

Error when running uwp sample in window 10

December 5, 2017 - 3:28pm #6

I have the same problem, Platform::AccessDeniedException please let me know if anyone has solved this. 

AttachmentSize
Image icon vuforiaUWP.png101.49 KB

Error when running uwp sample in window 10

March 6, 2018 - 5:28am #5

Hi,

I'm having same problem, running on a PC with Visual Studio 2015 x86

Here's the full exception:

Exception thrown at 0x745508C2 in ImageTargets.exe: Microsoft C++ exception: Platform::AccessDeniedException ^ at memory location 0x00C7E638. HRESULT:0x80070005 Access is denied.

WinRT information: Access is denied.

Stack trace:

combase.dll!7605722d()

vccorlib140_app.dll!0f4f17d9()

vccorlib140_app.dll!0f4f2896()

Vuforia.dll!0f5de892()

Vuforia.dll!0f6ef38e()

Vuforia.dll!0f6ad5de()

Vuforia.dll!0f6ad956()

Vuforia.dll!0f63d9ac()

Vuforia.dll!0f63d530()

Vuforia.dll!0f630720()

Vuforia.dll!0f632cf9()

Vuforia.dll!0f61adf4()

ImageTargets.exe!std::_Invoker_functor::_Call<int <lambda>(void) &>(ImageTargets::AppSession::InitVuforiaAsync::__l2::int <lambda>(void) & _Obj) Line 1377

ImageTargets.exe!std::invoke<int <lambda>(void) &>(ImageTargets::AppSession::InitVuforiaAsync::__l2::int <lambda>(void) & _Obj) Line 1443

ImageTargets.exe!std::_Invoke_ret<int,int <lambda>(void) &>(std::_Forced<int,0> __formal, ImageTargets::AppSession::InitVuforiaAsync::__l2::int <lambda>(void) & <_Vals_0>) Line 1468

ImageTargets.exe!std::_Func_impl<int <lambda>(void),std::allocator<int>,int>::_Do_call() Line 212

ImageTargets.exe!std::_Func_class<int>::operator()() Line 279

ImageTargets.exe!Concurrency::task<int>::_InitialTaskHandle<int,int <lambda>(void),Concurrency::details::_TypeSelectorNoAsync>::_LogWorkItemAndInvokeUserLambda<std::function<int __cdecl(void)> >(std::function<int __cdecl(void)> _func) Line 3465

ImageTargets.exe!Concurrency::task<int>::_InitialTaskHandle<int,int <lambda>(void),Concurrency::details::_TypeSelectorNoAsync>::_Init(Concurrency::details::_TypeSelectorNoAsync __formal) Line 3485

ImageTargets.exe!Concurrency::task<int>::_InitialTaskHandle<int,int <lambda>(void),Concurrency::details::_TypeSelectorNoAsync>::_Perform() Line 3471

ImageTargets.exe!Concurrency::details::_PPLTaskHandle<int,Concurrency::task<int>::_InitialTaskHandle<int,int <lambda>(void),Concurrency::details::_TypeSelectorNoAsync>,Concurrency::details::_TaskProcHandle>::invoke() Line 1423

ImageTargets.exe!Concurrency::details::_TaskProcHandle::_RunChoreBridge(void * _Parameter) Line 146

ImageTargets.exe!Concurrency::details::_DefaultPPLTaskScheduler::_PPLTaskChore::_Callback(void * _Args) Line 51

msvcp140d_app.dll!031329ac()

ntdll.dll!770a4dab()

ntdll.dll!770a3ea3()

kernel32.dll!74648654()

ntdll.dll!770d4a77()

ntdll.dll!770d4a47()

AttachmentSize
Image icon VSConfig.png36.22 KB

Similar Issue

August 9, 2018 - 10:42am #4

I am developing educational AR software at GeorgiaTech targeting UWP and have run into a similar issue with my own project. I have built and debugged the program on a PC running the latest version of Vuforia on Unity 2017.3.0f3 and on a Surface Pro 4 running Unity 2017.2.2f1 with the included version of Vuforia. The application builds fine, and can be sideloaded onto a tablet and run with minimal issue. However, it fails WACK validation, and exits out of the debugger with a pattern similar to that presented by the rest of the users here.

Exception thrown at *** in ***.exe: Microsoft C++ exception:

Platform::AccessDeniedException ^ at memory location ***. HRESULT:*** Access is denied.

WinRT information: Access is denied.

Stack:

KernelBase.dll!RaiseException()

vcruntime140_app.dll!***()

vccorlib140_app.dll!***()

Vuforia.dll!***()  {This line appears 10x with different identifiers}

VuforiaWrapper.dll!***()

This issue is preventing the project from moving forward, so any help would be greatly appreciated.

Thanks!

Error when running uwp sample in window 10

August 9, 2018 - 11:11am #3

Hello,

arJPB3 wrote:

I have built and debugged the program on a PC running the latest version of Vuforia on Unity 2017.3.0f3 and on a Surface Pro 4 running Unity 2017.2.2f1 with the included version of Vuforia. The application builds fine, and can be sideloaded onto a tablet and run with minimal issue. However, it fails WACK validation, and exits out of the debugger with a pattern similar to that presented by the rest of the users here.

This WACK issue sounds vaguely familiar.

A couple of observations:

  1. The Vuforia SDK is meant to run on UWP tablets with embedded cameras. We cannot support you if you're running Vuforia on a desktop. Just clarifying here so there is no confusion.
  2. You are running with older versions of the SDK:
    • Unity 2017.3.0f3 = Vuforia SDK 7.0.36
    • Unity 2017.2.2f1 = Vuforia SDK 6.5.25(?) - released ~ Nov. 2017

I strongly suggest that you upgrade your Unity versions to get the latest version of Vuforia.

To upgrade the version of Vuforia embedded in the Unity Editor (2018.1 or greater), please follow these steps:

  1. Open the Unity Editor
  2. Select Window->Vuforia Configuration
    • If there is an error message about Vuforia not being enabled, please follow the instructions and restart this process
  3. If your version of Unity is eligible for a Vuforia update, you'll see a message and link to download the installer
  4. Download and extract installer executable from downloaded ZIP file
  5. Run the installer executeable
    • For Windows, select the folder that corresponds to the installed version of the Unity Editor that is eligible for the Vuforia update. Ex: C:\Program Files\Unity_2018.1.4f1
    • For Mac, select the drive
      • Note that for Mac, the installer executable will default to /Applications/Unity. This is a limitation of the Unity installer scripts. If you have multiple Unity application directories in this path, rename the target Editor version temporarily to /Applications/Unity to complete the installation
  6. Restart the same version of the Unity Editor in Step #1
  7. Verify the update in the Unity Editor via Window->Vuforia Configuration

If you have any previously installed Vuforia samples, you'll also want to download the updated versions of those from the Asset Store.

Thanks,

Vuforia Engine Support

Error when running uwp sample in window 10

August 10, 2018 - 12:31pm #2

Sorry, I was running 2018.2.2f1 on the tablet, but I did update the Vuforia version. I still have the same debug issue, but it passed WACK validation, so I suspect it was the PC versus tablet aspect. Thanks for your help.

Error when running uwp sample in window 10

April 27, 2020 - 6:54am #1

Hello,

 

I downloaded the lastest Vuforia UWP SDK and Vuforia Samples and tried to build and run it in VS2019 on a Windows 10 platform. 

When I ran it, I got the following error (please check the attached pic):

Vuforia Initialization Error

Unspecified error

Failed to init camera

 

I checked and the camera is working outside the app...What could be the problem here? Your help on the matter would be greatly appreciated.

 

Thanks

Hiam

AttachmentSize
Image icon VuforiaInitializationError.png35.29 KB
Log in or register to post comments