In unity we've combined cloud reco and video play back. But when run the app, we're getting this issue in console.
IndexOutOfRangeException: Array index is out of range.
PlayVideo.PickVideo (Vector3 screenPoint) (at Assets/Scripts/PlayVideo.cs:190)
PlayVideo.HandleSingleTap () (at Assets/Scripts/PlayVideo.cs:63)
InputController.UpdateInput () (at Assets/Common/UIFramework/InputController.cs:98)
SceneViewManager.Update () (at Assets/Common/UIFramework/SceneViewManager.cs:47)
Playvideo 190's line:
Ray ray = cam[0].ScreenPointToRay(screenPoint);
Line 63:
if (PickVideo(Input.mousePosition) != null)
SceneViewManager 47th line :
InputController.UpdateInput();
Input controller 98th line:
if (InputController.SingleTapped != null)
{
InputController.SingleTapped();
}