UnitySDK 1.7.0 보상광고 문의

엇 혹시 clean 기능으로 lockfile 및 기존 파일들을 한번 삭제하고 다시 빌드해봐주실 수 있을까요 ?

[Platform] ✗ 명령 실패 (Exit Code: 1)
[Platform] stdout:
ERR_PNPM_LOCKFILE_CONFIG_MISMATCH  Cannot proceed with the frozen installation. The current "overrides" configuration doesn't match the value found in the lockfile

Update your lockfile using "pnpm install --no-frozen-lockfile"
[pnpm] 명령 실패 (Exit Code: 1): pnpm install --frozen-lockfile
[pnpm] 출력:
 ERR_PNPM_LOCKFILE_CONFIG_MISMATCH  Cannot proceed with the frozen installation. The current "overrides" configuration doesn't match the value found in the lockfile

Update your lockfile using "pnpm install --no-frozen-lockfile"
[Platform] ✗ 명령 실패 (Exit Code: 1)
[Platform] stdout:
> unity-miniapp@1.0.0 build /Users/jinwoo/Documents/GitHub/tile3-match/ait-build
> granite build
[Platform] stderr:
Failed to find Response internal state key
(node:5013) EP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
(Use `node --trace-deprecation ...` to show where the warning was created)
[pnpm] 명령 실패 (Exit Code: 1): pnpm run build
[pnpm] 출력:

> unity-miniapp@1.0.0 build /Users/jinwoo/Documents/GitHub/tile3-match/ait-build
> granite build

Execa Error: Command failed with exit code 1: pnpm vite build
[pnpm] 오류:
Failed to find Response internal state key
(node:5013) EP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
(Use `node --trace-deprecation ...` to show where the warning was created)
[AIT] granite build 실패
AIT: 빌드 실패: BUILD_WEBGL_FAILED

clean 이후에 실행하니까 빌드실패가 뜨네요

음..

ait-build 파일 경로에서 pnpm install --no-frozen-lockfile 로 lock file을 최신화 해주실 수 있을까요 ?

안녕하세요 pnpm 명령어 사용했는데 pnpm이 설치가 안되어있어서

brew install pnpm 명령어로 설치를 진행했구요

이후에 다시 진행했는데 오류가 있어서 첨부드립니다

오 이 정도면 뭔가 계속 안되었어야 하는게 맞는거 같은데

[Platform] ✗ 명령 실패 (Exit Code: 1)
[Platform] stdout:
Recreating /Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules
 ERR_PNPM_LOCKFILE_CONFIG_MISMATCH  Cannot proceed with the frozen installation. The current "overrides" configuration doesn't match the value found in the lockfile

Update your lockfile using "pnpm install --no-frozen-lockfile"
[pnpm] 명령 실패 (Exit Code: 1): pnpm install --frozen-lockfile
[Platform] ✗ 명령 실패 (Exit Code: 1)
[Platform] stdout:
> unity-miniapp@1.0.0 build /Users/jinwoo/Documents/GitHub/tile3-match/ait-build
> granite build

Execa Error: Command failed with exit code 1: pnpm vite build
    at getFinalError (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:59242:10)
    at makeError (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:61326:17)
    at getAsyncResult (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65078:159)
    at handlePromise (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65063:18)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async Object.handler (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65480:9)
    at async runPrebuildToBuild (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65682:5)
    at async BuildCommand.execute (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65752:5)
    at async BuildCommand.validateAndExecute (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:56153:22)
    at async _Cli.run (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:57178:18)
[Platform] stderr:
Failed to find Response internal state key
(node:12346) EP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
(Use `node --trace-deprecation ...` to show where the warning was created)
failed to load config from /Users/jinwoo/Documents/GitHub/tile3-match/ait-build/vite.config.ts
error during build:
ReferenceError: unityWebContentEncodingPlugin is not defined
    at file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.vite-temp/vite.config.ts.timestamp-1769061225683-9f2f80caf92248.mjs:5:12
    at ModuleJob.run (node:internal/modules/esm/module_job:377:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:671:26)
    at async loadConfigFromBundledFile (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/vite@7.3.1_@types+node@24.10.2_jiti@1.21.7_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/chunks/config.js:35909:12)
    at async bundleAndLoadConfigFile (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/vite@7.3.1_@types+node@24.10.2_jiti@1.21.7_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/chunks/config.js:35797:17)
    at async loadConfigFromFile (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/vite@7.3.1_@types+node@24.10.2_jiti@1.21.7_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/chunks/config.js:35764:42)
    at async resolveConfig (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/vite@7.3.1_@types+node@24.10.2_jiti@1.21.7_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/chunks/config.js:35413:22)
    at async createBuilder (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/vite@7.3.1_@types+node@24.10.2_jiti@1.21.7_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/chunks/config.js:33875:19)
    at async CAC.<anonymous> (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/vite@7.3.1_@types+node@24.10.2_jiti@1.21.7_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/cli.js:629:10)
UnityEngine.Debug:LogError (object)

[pnpm] 명령 실패 (Exit Code: 1): pnpm run build
[pnpm] 출력:

> unity-miniapp@1.0.0 build /Users/jinwoo/Documents/GitHub/tile3-match/ait-build
> granite build

Execa Error: Command failed with exit code 1: pnpm vite build
    at getFinalError (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:59242:10)
    at makeError (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:61326:17)
    at getAsyncResult (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65078:159)
    at handlePromise (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65063:18)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async Object.handler (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65480:9)
    at async runPrebuildToBuild (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65682:5)
    at async BuildCommand.execute (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65752:5)
    at async BuildCommand.validateAndExecute (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:56153:22)
    at async _Cli.run (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:57178:18)
 ELIFECYCLE  Command failed with exit code 1.
[pnpm] 오류:
Failed to find Response internal state key
(node:12346) EP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
(Use `node --trace-deprecation ...` to show where the warning was created)
failed to load config from /Users/jinwoo/Documents/GitHub/tile3-match/ait-build/vite.config.ts
error during build:
ReferenceError: unityWebContentEncodingPlugin is not defined
[AIT] granite build 실패
AIT: 빌드 실패: BUILD_WEBGL_FAILED

로그를 보니 정의가 안된것같은데 안하셨을리는없는것같고

저 sdk 버전이 좀 잘못된걸까요? @Dylan

터미널에서 /ait-build 로 접근 > pnpm install --no-frozen-lockfile 이후 다시 SDK로 빌드하면 어떤가요 ?!

위에 적어주신 명령어 이후에 sdk 로 빌드 했는데

아래에 오류 로그가 남았습니다.

[pnpm] 명령 실패 (Exit Code: 1): pnpm install --frozen-lockfile

[pnpm] 명령 실패 (Exit Code: 1): pnpm run build

동일하게 실패하네요

pnpm run build

> unity-miniapp@1.0.0 build /Users/jinwoo/Documents/GitHub/tile3-match/ait-build
> granite build

failed to load config from /Users/jinwoo/Documents/GitHub/tile3-match/ait-build/vite.config.ts
error during build:
ReferenceError: unityWebContentEncodingPlugin is not defined
    at file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.vite-temp/vite.config.ts.timestamp-1769063953854-db038471059c8.mjs:5:12
    at ModuleJob.run (node:internal/modules/esm/module_job:271:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26)
    at async loadConfigFromBundledFile (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/vite@7.3.1_@types+node@24.10.2_jiti@1.21.7_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/chunks/config.js:35909:12)
    at async bundleAndLoadConfigFile (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/vite@7.3.1_@types+node@24.10.2_jiti@1.21.7_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/chunks/config.js:35797:17)
    at async loadConfigFromFile (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/vite@7.3.1_@types+node@24.10.2_jiti@1.21.7_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/chunks/config.js:35764:42)
    at async resolveConfig (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/vite@7.3.1_@types+node@24.10.2_jiti@1.21.7_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/chunks/config.js:35413:22)
    at async createBuilder (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/vite@7.3.1_@types+node@24.10.2_jiti@1.21.7_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/chunks/config.js:33875:19)
    at async CAC.<anonymous> (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/vite@7.3.1_@types+node@24.10.2_jiti@1.21.7_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/cli.js:629:10)
Execa Error: Command failed with exit code 1: pnpm vite build
    at getFinalError (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:59242:10)
    at makeError (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:61326:17)
    at getAsyncResult (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65078:159)
    at handlePromise (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65063:18)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async Object.handler (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65480:9)
    at async runPrebuildToBuild (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65682:5)
    at async BuildCommand.execute (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:65752:5)
    at async BuildCommand.validateAndExecute (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:56153:22)
    at async _Cli.run (file:///Users/jinwoo/Documents/GitHub/tile3-match/ait-build/node_modules/.pnpm/@apps-in-toss+web-framework@1.7.1_6359ad67d6591387a40609f33de4e4f7/node_modules/@apps-in-toss/web-framework/dist/cli/index.js:57178:18)

ㅎㅎ 뭔가 진행이 힘든거겠죠

GG

패키지 지웠다가 다시 설치해서 실행해봤는데 배포까지 진행되었습니다만

[pnpm] 명령 실패 (Exit Code: 1): pnpm install --frozen-lockfile

위에 오류는 반복해서 뜨네요

배포된 빌드 실행해 봤는데 앱 로딩화면도 완전히 달라졌네요

보상광고 dismissed 이벤트 확인했습니다.

고생하셨습니다 어후 힘드네요

이어서 백그라운드 진입이벤트는 Unity SDK 에서 구현이 안되어있는건가요? - jinwoolee 님의 게시물 #10 이 부분도 확인 부탁드려도 될까요
최신 빌드에서도 동일한 증상이라서요

해결 되었다니 다행입니다. 관련 이슈 대응으로 새로운 패키지가 배포되었습니다 :slight_smile: