private static void InitDeviceProfile()
        {
            (IntPtr, int)par = CardboardQrCode.GetDeviceParamsPointer();

            if (par.Item2 == 0 && !Application.isEditor)
            {
                isProfileAvailable = false;
                LoadDefaultProfile();
                par = CardboardQrCode.GetDeviceParamsPointer();
            }

            // if (par.Item2 == 0 && !Application.isEditor)
            // {
            //     CardboardQrCode.RetrieveCardboardDeviceV1Params();
            //     par = CardboardQrCode.GetDeviceParamsPointer();
            // }

            if (par.Item2 > 0 || Application.isEditor)
            {
                deviceParameter = CardboardQrCode.GetDecodedDeviceParams();
                //todo do we need to destroy it before create it?

                CardboardLensDistortion.CreateLensDistortion(par.Item1, par.Item2);
                isProfileAvailable = true;
            }
        }