Yeah, so, how do I fix this error:
Cannot use web cam, since the user has not authorized this!
I'm trying to use Play Mode on Unity Pro 3.5.7f6 (I have an iOS liscence, but I am developing on a PC).
I tried this: http://docs.unity3d.com/Documentation/ScriptReference/Application.RequestUserAuthorization.html?from=UserAuthorization
But that won't work, as the Vuforia script doesn't like it.
Assets/Qualcomm Augmented Reality/Scripts/QCARBehaviour.cs(316,10): error CS1624: The body of `QCARBehaviour.Start()' cannot be an iterator block because `void' is not an iterator interface type
or if I change start from Void to IEnumerator:
Assets/Qualcomm Augmented Reality/Scripts/QCARBehaviour.cs(316,5): error CS0246: The type or namespace name `IEnumerator' could not be found. Are you missing a using directive or an assembly reference?
Also, these forums suck. They display thread posts in reverse chronological order, so opening a thread shows me "thanks, that worked!" before I even know what the details of that particular user's problems were.
I had the same problem, but with no vuforia project (did not even load the vuforia assets into the assets folder), so I thought this is a general problem.
After short research I find the answer:
https://docs.unity3d.com/ScriptReference/Application.RequestUserAuthorization.html
And everything works fine!
For protection reasons for hacking, Unity added a "firewall" asking user's authorization to access the webcam.
As I have read on a reply here, the upper script does not work in vuforia, but I am afraid that there is little we can do and better regard it as "bug" both to unity and vuforia and just wait them to give solution
I use windows 10 x64, Unity 5.3.4f1 (64-bit)