Could not connect Pins - RenderStream() UnityEngine.StackTraceUtility:ExtractStackTrace ()

trying to get my webcam to work but keep getting this error “Could not connect Pins - RenderStream() UnityEngine.StackTraceUtility:ExtractStackTrace ()” im new to Unity so im not sure what this means. Please help

Script im using works with my laptop Camera but not webcam that im connecting too

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class LiveTexture : MonoBehaviour
{
void Start()
{
WebCamDevice devices = WebCamTexture.devices;

    // for debugging purposes, prints available devices to the console
    for (int i = 0; i < devices.Length; i++)
    {
        print("Webcam available: " + devices[i].name);
    }

    Renderer rend = this.GetComponentInChildren<Renderer>();

    // assuming the first available WebCam is desired
    WebCamTexture tex = new WebCamTexture(devices[0].name, 1920, 1080, 30);
    rend.material.mainTexture = tex;
    tex.Play();
}

}

I'm having the same problem. It seems like I'm getting it with two different logitech cameras but I don't get the problem with two ELP 4k USB cameras.