Closed AtaTrkgl closed 2 years ago
Considering that the final line says [LicensingClient] Licenses updated successfully
, what makes you think that the Error: Access token is unavailable
is an error that needs to be fixed?
Do you get no build artifact? Or is there something wrong when you run the resulting build?
Considering that the final line says
[LicensingClient] Licenses updated successfully
, what makes you think that theError: Access token is unavailable
is an error that needs to be fixed? Do you get no build artifact? Or is there something wrong when you run the resulting build?
Well, I get a build error and that's the only error I could find in the logs.
Does the same error happen for all targetPlatform
s? Can you share the logs in between the licensing client and the build results as well?
Does the same error happen for all
targetPlatform
s? Can you share the logs in between the licensing client and the build results as well?
I have fail-fast
set to in my build.yml
true so I am not sure about Windows Platforms but I've seen both macOS & Linux getting failed.
Here is the log.txt, I uploaded it as a .txt file because it exceeded Github's issue char limit.
I see '' is an incorrect path for a scene file. BuildPlayer expects paths relative to the project folder.
in your logs, which makes me think that maybe the issue is with the editor build settings?
Can you confirm if all your scenes are correctly referenced in your build settings?: https://docs.unity3d.com/Manual/BuildSettings.html
I see
'' is an incorrect path for a scene file. BuildPlayer expects paths relative to the project folder.
in your logs, which makes me think that maybe the issue is with the editor build settings?Can you confirm if all your scenes are correctly referenced in your build settings?: https://docs.unity3d.com/Manual/BuildSettings.html
My EditorBuildSettings.asset
file seems to be fine plus I can build locally and play through the levels.
Ok, I think the issue is with the meta file for Assets/_Scenes/Levels/Chapter 2/C2-L13.unity
.
In your logs:
GUID [dcbbfed44e705ae49bfa15b94d1a228b] for asset 'Assets/_Scenes/Levels/Chapter 2/C2-L13.unity.meta' conflicts with:
'Assets/_Scenes/Levels/Chapter 2/C2-L14.unity.meta'
Assigning a new guid.
GUID [dcbbfed44e705ae49bfa15b94d1a228b] for asset 'Assets/_Scenes/Levels/Chapter 2/C2-L14.unity.meta' conflicts with:
'Assets/_Scenes/Levels/Chapter 2/C2-L13.unity.meta'
Assigning a new guid.
I think your git repo needs to update Assets/_Scenes/Levels/Chapter 2/C2-L13.unity.meta
to change the guid from dcbbfed44e705ae49bfa15b94d1a228b
to 92a1db71f6ab63e4ba1bce96c9f485df
Ok, I think the issue is with the meta file for
Assets/_Scenes/Levels/Chapter 2/C2-L13.unity
. In your logs:GUID [dcbbfed44e705ae49bfa15b94d1a228b] for asset 'Assets/_Scenes/Levels/Chapter 2/C2-L13.unity.meta' conflicts with: 'Assets/_Scenes/Levels/Chapter 2/C2-L14.unity.meta' Assigning a new guid. GUID [dcbbfed44e705ae49bfa15b94d1a228b] for asset 'Assets/_Scenes/Levels/Chapter 2/C2-L14.unity.meta' conflicts with: 'Assets/_Scenes/Levels/Chapter 2/C2-L13.unity.meta' Assigning a new guid.
I think your git repo needs to update
Assets/_Scenes/Levels/Chapter 2/C2-L13.unity.meta
to change the guid fromdcbbfed44e705ae49bfa15b94d1a228b
to92a1db71f6ab63e4ba1bce96c9f485df
Thank you! That fixed it right away, I was looking for a solution for the wrong problem this whole time.
Bug description
When I try to build my game, I get the following error
How to reproduce
My build.yml
```yaml name: ⚙️ Build on: # push: # branches: # - main pull_request: branches: - main workflow_dispatch: jobs: buildForAllSupportedPlatforms: name: Build for ${{ matrix.targetPlatform }} runs-on: ubuntu-latest strategy: fail-fast: true matrix: targetPlatform: - StandaloneOSX # Build a macOS standalone (Intel 64-bit). - StandaloneWindows # Build a Windows standalone. - StandaloneWindows64 # Build a Windows 64-bit standalone. - StandaloneLinux64 # Build a Linux 64-bit standalone. steps: # Checkout - name: ⏬ Checkout Repository uses: actions/checkout@v2 with: lfs: true # Cache - name: 📂 Use the Cache uses: actions/cache@v2 with: path: Project-Portal/Library key: Library-${{ matrix.targetPlatform }} restore-keys: | Library- # # Test # - name: 🧪 Run Tests # uses: game-ci/unity-test-runner@v2 # env: # UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} # with: # projectPath: Project-Portal # githubToken: ${{ secrets.GITHUB_TOKEN }} # Build - name: ⚙️ Build Project uses: game-ci/unity-builder@v2 env: UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} with: buildName: Ingression projectPath: Project-Portal targetPlatform: ${{ matrix.targetPlatform }} versioning: Semantic # Output - name: ⏫ Upload Build uses: actions/upload-artifact@v2 with: name: Ingression (${{ matrix.targetPlatform }}) path: build/${{ matrix.targetPlatform }} ```