Log in or register to post comments

Webcam cann't work perfectly on UWP

December 15, 2017 - 4:08pm #1

i study the ariticle where is in the https://library.vuforia.com/articles/Training/Getting-Started-with-Vuforia-for-Windows-10-Development.html.

Now my app run perfectly in Vuforia 5.5.9 with Unity5.4.0f .

In unity Editor ,I can use CameraDevice.Instance.SetFrameFormat(Image.PIXEL_FORMAT.RGBA8888, true); to register FrameFormat Successfully.And ,to update profiles.xml files(Vuforia\Editor\WebcamProfiles, i use with Logitech HD Webcam 920),the Vuforia' API Vuforia.Image image = CameraDevice.Instance.GetCameraImage(Image.PIXEL_FORMAT.RGBA8888); can return a image.The Image is not null,and its width and heigth is 1920 and 1080.

But when i deploy it to the UWP,

CameraDevice.Instance.SetFrameFormat(Image.PIXEL_FORMAT.RGBA8888, true)

return false;

Vuforia.Image image = CameraDevice.Instance.GetCameraImage(Image.PIXEL_FORMAT.RGBA8888);

return NULL;



Webcam cann't work perfectly on UWP

June 7, 2019 - 7:26am #6

hi all

im using the surface pro and surface go to develop an architectural AR app as part of my college co op, until today i was not able to build to  UWP device however now i can but the camera does not work or activate at all on the tablets and as a result the app crashes after the splash screen.  the only way i was able to build to the tablets was using visual studios 2019 (including all the newest SDKs) the newest version and unity ver 2019.3.0a5 the version of vuforia im using is 8.1.12. i have replicated this on android but only when the license is wrong. (the license in this case is correct) 

im a bit stuck as to what or where ive gone wrong as i wasnt even expecting the app to build to the device in the first place. i will note however that im building on a laptop/desktop and then installing the app on the devices via usb. trying to get the prototype working on this is very important as its the standard tablet used by these architects and if they want to put the app into full development they will need to know that it works without issues. 

the main functionality of the app is that it reads a barcode/ qr code on the blue prints and is then enlarged to move around and see the building as if in real scale. this would mean that it needs to read an image and have extended tracking if anyone or the vuforia team have a solution to fix this please let me know ASAP

thanking anyone in advance for their assistance 


Webcam cann't work perfectly on UWP

December 19, 2017 - 12:31am #5


As Strasza said, there is not possible to run Vuforia's applications as a standalone app. See this: https://blogs.windows.com/buildingapps/2016/10/12/how-to-develop-augmented-reality-apps-with-vuforia-for-windows-10/

Some months ago I bought one tablet with windows 10 and it was impossible to run apps on this device. Why? Because it runs only on surface pro or hololens. 

There were many questions about final exe app like here: https://developer.vuforia.com/forum/issues-and-bugs/cameras-not-enabling-standalone

It will works only on external devices with UWP (and only on surface pro or hololens). Some months ago this issue was almost fixed, see this: https://github.com/maximrouf/VuforiaStandaloneBuild 


Webcam cann't work perfectly on UWP

December 18, 2017 - 1:33pm #4

Hello sunzqck,

While Unity playmode supports the use of external webcams, the final build will only be able to use the device's webcam. For UWP, this will work with the Surface Pro 3 or 4.


Vuforia Support

Webcam cann't work perfectly on UWP

December 18, 2017 - 12:42am #3

win10 & Logtich HD Webcam C920

Webcam cann't work perfectly on UWP

December 16, 2017 - 2:47am #2

On what kind of device with UWP you want to run your app?

Log in or register to post comments