// Update is called once per frame void Update() { if (!done) { ARTextureHandles handles = arSession.GetARVideoTextureHandles(); if (handles.textureY != System.IntPtr.Zero) { ReadQRCode(handles.textureY.ToInt64()); } } }