-
-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TimeoutException: Failed to start WebCam #664
Comments
This error has been occurring occasionally before, but I agree that it's happening more often than before. |
I edit I close the issue, but I wonder this approach is proper way to handle the error. |
Thank you! In my case (on Linux Desktop), when it happens, it happens often, and when it doesn't, it doesn't happen at all (and now I happen to be unable to reproduce it at all). MediaPipeUnityPlugin/Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSource/WebCamSource.cs Line 264 in 6efa5e1
|
I'm not sure this result is helpful, but I test it several times. 1. start scene: 768 |
Thanks! |
I encountering this issue too. I am on Mac OS M1. I got it to go away by setting timeoutFrame to 3000. It seems that 2000 is too low. |
Plugin Version or Commit ID
v0.10.1
Unity Version
2021.3.3f1
Your Host OS
macOS Monterey 12.4
Target Platform
UnityEditor
Target Device
MacBook Pro (16-inch, 2019)
[Windows Only] Visual Studio C++ and Windows SDK Version
No response
[Linux Only] GCC/G++ and GLIBC Version
bazel: 5.0.0
gcc, g++: 13.1.6
python: 3.9.10
[Android Only] Android Build Tools and NDK Version
No response
[iOS Only] XCode Version
No response
Build Command
python3.9 build.py build --desktop cpu -vv
Bug Description
The situation is quite simple to #392
However, my MacBook is Intel Mac and I can't find
TextureFrame#ChangeNameFrom
.Also, I put
Debug.Log
inTexutreFrame#GetNativeTexturePtr
, but it isn't called.Importantly, the error is occurred without scene change.
Sometimes, I can see the web cam screen in the first scene (face detection), and when I change to other scene the error is occurred, but almost all errors occur first scene that means I can't see the web cam screen at all.
Steps to Reproduce the Bug
python3.9 build.py build --desktop cpu -vv
TimeoutException: Failed to start WebCam
Log
Editor.log
Screenshot/Video
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: