How to initialize webcam in a Unity3d application?

Asked

Viewed 235 times

-2

I’m creating an Augmented Reality app using Unity and Vuforia. The application uses a webcam, in Unity performing the tests it is working, but when I export the application to Windows only appears a black screen, because the webcam does not boot together with the application.

I wonder what needs to be done so that when starting the application the webcam also boot?

1 answer

0

Often an external executable (I imagine this is your case since there was an export) does not understand a reference to an API after it has been compiled. A simple solution is to put in the folder where the project is exported, and that will be the executable, the essential Dlls of the VUFORA libraries that you used in your codes.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.