'Unity3D 2019.3.0b7 Recording VideoCapture.CreateAsync does not call the Callback Function
I'm trying to Record footage from a webcam, but when I try to initialize the Webcam and call the VideoCapture.CreateAsync function my supplied Callback gets never called.
I've tried to access the Camera using a WebCamTexture which works fine.
My StartFunction Looks like this:
VideoCapture.CreateAsync(OnCaptureCreate);
My OnCaptureCreate Function looks like this:
void OnCaptureCreate(VideoCapture videoC) {}
The Function is the same as in the unity documentation here: https://docs.unity3d.com/2019.3/Documentation/ScriptReference/Windows.WebCam.VideoCapture.html.
I've Already found this thread How to capture video from web camera using unity? but it only focuses on hololens and I'm trying to record using VideoCapture from the 'UnityEngine.Windows.WebCam' Namespace.
Has anyone had the same problem as I'm having?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
