a15714ab041eb360be3335625683746f02534528d6a4ef89d53767f2991ccd6e6d759ae8b0ea061df3ed699763



1. 혼자서 간단하게 만들어보는거라 유니티 클라우드의 CCD를 써봤음. 버킷을 만들고 어드레서블 그룹의 Remote 경로를 이곳으로 설정함. 정상적으로 리소스 업로드도 되는거 확인.


2. 폰에서 설치하고 최초로 첫 실행할 때 리소스 다운로드 받게 하려고 했는데 이 과정에서 자꾸 

UnityWebRequest result : ProtocolError : HTTP/1.1 404 Not Found

 이런 식으로 에러가 엄청 길게 나옴. ai한테 물어봐도 뭐하나 해결이 안됨..


3. 어드레서블 그룹 Remote로 설정되어 있고 경로도 딱히 틀린거 없는거 같은데 뭐 어떻게 세팅이 잘못된건지 뭔지 감도 안옴...



private async UniTask CheckPatchInfoAsync()

{

    try

    {

        txtTitle.text = "리소스 정보를 확인 중입니다...";


        // 1. 어드레서블 초기화

        await Addressables.InitializeAsync();


        // 2. 카탈로그 업데이트 확인 (CCD 변경 사항 감지)

        var checkHandle = Addressables.CheckForCatalogUpdates(false);

        List<string> catalogs = await checkHandle.ToUniTask();

        Addressables.Release(checkHandle);


        if (catalogs != null && catalogs.Count > 0)

        {

            txtTitle.text = "리소스 목록을 갱신 중입니다...";

            var updateHandle = Addressables.UpdateCatalogs(catalogs, false);

            await updateHandle.ToUniTask();

            Addressables.Release(updateHandle);

        }


        // 3. 다운로드 사이즈 체크

        downloadSize = await Addressables.GetDownloadSizeAsync("Remote");

        if (downloadSize > 0)

        {

            float mbSize = downloadSize / (1024f * 1024f);

            txtTitle.text = $"터치하여 데이터 다운로드 ({mbSize:F2}MB)";

        }

        else

        {

            txtTitle.text = "터치하여 게임 시작";

        }


        isPatchProcessFinished = true;

        btnTitle.interactable = true;

    }

    catch (Exception e)

    {

        Debug.LogError($"Patch Check Failed: {e.Message}");

        txtTitle.text = "네트워크 오류";

        btnTitle.interactable = true;

    }

}



이 코드인데, 폰에서 실행해보면 리소스 용량도 정상적으로 나오고 터치하면 다운로드도 시작함. 근데, 게이지가 오르다가. 즉, 다운로드를 하다가 결국 마지막에 실패하는 중.

대체 뭐가 문제일까......