"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Webcam stutters (turns off & on during play)

Vuforia SDK Version: 10.2.5

Description with steps to reproduce:

Version of Unity: 2020.3.18f1

Vuforia Version 10.2.5

Webcam used: Logitech HD Webcam Pro C920

Steps to reproduce:

1. Create a fresh 3d Unity project in 2020.3.18f1

2. Import Vuforia from unitypackage file (10.2.5)

3. Add an AR camera and remove main camera

4. Hit play

 

Hi, I am running into an issue with Vuforia where during Play Mode the image from my webcam is stuttering. Luckily, I have a little blue light on the webcam that tells me when it's on or off and it pulses in sync with the stuttering. The camera only stays on for about half a second then turns off for half a second leaving the last frame on the Unity webcam texture. I've tried this with multiple projects (I tried to do a project in 2019, but I ran into an unrelated error) and there has been no real success. Just to note it seems like it will track and "work" it just stutters.

I have done this with and without image targets. Also, with and without 3d objects nested under the image targets. The other day it worked just fine, but there literally was no reason. I went out of play mode then back in and it would stutter.

I really don't know what could be causing this behavior. If my description of the issue wasn't sufficient, please let me know and I will record the behaviour. 

Development OS (Mac OS X, Windows, Linux): Windows  Mobile OS and Version: Android - but I am using the webcam  Mobile Device Manufacturer and Model name: Logitech 

Do the Vuforia Sample Applications show the same behavior?:

No, and just writing this I have found that out. I think I am more confused than before... The camera is stable. Yet after taking one of the image targets putting my custom image the tracking doesn't pick up the image target.

thekingmaker

Wed, 10/27/2021 - 02:50

I figured out a solution from looking at the examples...

 

Adding the camera settings and the frame rate setting script to the camera fixed the issue.

 

This was never mentioned anywhere. But, I am happy to have it working now!

Hey there,

 

I haven't heard of similar issues that you are describing but I am happy you fixed it. 

I even have the same webcam model and never experienced these issues...