private static void CheckUdpBuildConfig()
        {
            Type udpBuildConfig = BuildConfigInterface.GetClassType();

            if (udpBuildConfig == null)
            {
                Debug.LogError("Cannot Retrieve Build Config Endpoints for UDP. Please make sure the UDP package is installed");
                throw new NotImplementedException();
            }
        }
        internal static bool CheckUdpCompatibility()
        {
            Type udpBuildConfig = BuildConfigInterface.GetClassType();

            if (udpBuildConfig == null)
            {
                Debug.LogError("Cannot Retrieve Build Config Endpoints for UDP. Please make sure the UDP package is installed");
                return(false);
            }

            var udpVersion   = BuildConfigInterface.GetVersion();
            int majorVersion = 0;

            int.TryParse(udpVersion.Split('.')[0], out majorVersion);

            return(majorVersion >= 2);
        }