Search Unity

Video Often hang during at UnityEngine.WebCamTexture:Play

Discussion in 'Audio & Video' started by _creatio_, Jun 25, 2019.

  1. _creatio_

    _creatio_

    Joined:
    Mar 21, 2013
    Posts:
    43
    Hi,

    I'm having often hangs during the Vuforia scene start in the editor with my web camera. It always happens in a call to UnityEngine.WebCamTexture.Play and freezes the editor forever.

    Code (CSharp):
    1. >    
    2.      Void UnityEngine.WebCamTexture:Play ()+0x2
    3.      Void Vuforia.WebCamTexAdaptor:Play ()+0x1b
    4.      Void Vuforia.WebCam:StartCamera ()+0x1a
    5.      Int32 Vuforia.CameraDevice:StartCameraDevice ()+0x15
    6.      Boolean Vuforia.CameraDevice:Start ()+0x2f
    7.      Boolean Vuforia.VuforiaARController:StartVuforia (Boolean)+0x3b
    8.      Void Vuforia.VuforiaARController:StartAfterInitializationCompleted ()+0x12c
    9.      Void Vuforia.VuforiaARController:UpdateState (Boolean, Boolean)+0x22
    10.      Void Vuforia.DigitalEyewearARController:Update ()+0x8
    11.  
    This makes extremely hard to debug some features of the application, I'm working on. Did somebody met such problems? Is there any workaround?

    Unity 2018.3.13f1
    Logitech Webcam C200
    Windows 10