Error while attempt to play WebCameTexture in Standalone windows build.
WebCameTexture.Play() throw an exception:
Platform assembly: D:\output\WebCam_Data\Managed\System.dll (this message is harmless)
Setting up 2 worker threads for Enlighten.
Thread → id: 2b3c → priority: 1
Thread → id: 1378 → priority: 1
Could not connect pins - RenderStream()
(Filename: Line: 1906)
But within editor all works without any errors.
May anyone help me please?
I have the same Error when I use the Elgato HD60s Video Capture Card. My App works fine in the editor and as a build when I use a Webcam, but throws “WebCameTexture.Play() Could not connect pins - RenderStream()” when I chose the Capture Card. I tried Restarting, plugging out and in, as well as the Code Tweak Tool. The official App by Elgato shows the Input video just fine.
Had the same issue - but in the editor. Android applications worked just fine.
Turned out to be a windows directshow filter problem. K-Lite codec pack fixed it.
It is a temporary windows problem. If you have a hot plug webcam (like usb webcam), try reconnecting it. In other cases, try rebooting your system. In my case, reconnecting webcam worked.
This issue is still valid in Unity 2018.4.x LTS. I was able to fixed it with Codec Tweak Tool that is a part of K-Lite package. Just click on Fixes button in the main menu and accept default settings. There is no need to install full K-Lite codec pack. Many thanks @ScreamingScythe for your answer!