Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Build succeeded" but still getting "There was an error..." #223

Closed
Sonorpearl opened this issue Aug 28, 2023 · 1 comment
Closed

"Build succeeded" but still getting "There was an error..." #223

Sonorpearl opened this issue Aug 28, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Sonorpearl
Copy link

Sonorpearl commented Aug 28, 2023

Bug description

Hello lovely community,

I'm trying out GameCI on GitHub Actions with the ubuntu-latest runner on Unity version 2021.3.16f1 for building WebGL. My first step which it already fails on is building the Addressable content.

Everything seems fine, since I'm gettings logs like:

2023-08-28T16:29:20.2936686Z Addressable content successfully built (duration : 0:07:34.394)
2023-08-28T16:29:21.0915668Z Addressables: finished with override version: 16
2023-08-28T16:29:21.0924390Z Batchmode quit successfully invoked - shutting down!
2023-08-28T16:29:32.7973754Z Exiting batchmode successfully now!
2023-08-28T16:29:32.9231549Z Build succeeded

But then I'm still getting this:

2023-08-28T16:29:37.8266881Z ##[error]There was an error building the project. Please read the logs for details.

The only errors I see are:

2023-08-28T16:13:00.0946253Z ##[warning]Fetch --unshallow caught: Error: Failed to run "git fetch --unshallow".
 In-command error caught: Error: The process '/usr/bin/git' failed with exit code 1

and:

2023-08-28T16:15:23.4628679Z [LicensingClient] Channel doesn't exist: "LicenseClient-root"
2023-08-28T16:15:23.4633461Z [Licensing::Module] Successfully launched the LicensingClient (PId: 99)
2023-08-28T16:15:23.7765119Z [SignatureVerifier] Application signature verification not supported on this platform.
2023-08-28T16:15:23.8428377Z [LicensingClient] Handshaking with LicensingClient (version: 1.9.0+249add7)
2023-08-28T16:15:23.8429435Z [Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-root" (connect: 0.31s, validation: 0.07s, handshake: 0.00s)
2023-08-28T16:15:23.8429998Z [Licensing::Module] Connected to LicensingClient (PId: 99, launch time: 0.00, total connection time: 0.38s)
2023-08-28T16:15:23.8430493Z Entitlement-based licensing initiated
2023-08-28T16:15:23.8430999Z [Licensing::Module] Error: Access token is unavailable
2023-08-28T16:15:23.9672483Z [LicensingClient] Licenses updated successfully

and:

2023-08-28T16:29:33.8328792Z [LicensingClient] Channel doesn't exist: "LicenseClient-root"
2023-08-28T16:29:33.8333940Z [Licensing::Module] Successfully launched the LicensingClient (PId: 9593)
2023-08-28T16:29:34.1587142Z [SignatureVerifier] Application signature verification not supported on this platform.
2023-08-28T16:29:34.2390531Z [LicensingClient] Handshaking with LicensingClient (version: 1.9.0+249add7)
2023-08-28T16:29:34.2391751Z [Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-root" (connect: 0.32s, validation: 0.08s, handshake: 0.00s)
2023-08-28T16:29:34.2392543Z [Licensing::Module] Connected to LicensingClient (PId: 9593, launch time: 0.00, total connection time: 0.41s)
2023-08-28T16:29:34.2393220Z Entitlement-based licensing initiated
2023-08-28T16:29:34.2393687Z [Licensing::Module] Error: Access token is unavailable
2023-08-28T16:29:34.2394486Z [Licensing::Module] Error: Failed to return entitlement license

My buildMethod is:

        public static void BuildAssetBundles()
        {
            Debug.Log("Addressables: Cleaning player content");
            AddressableAssetSettings.CleanPlayerContent();
            AddressableAssetSettingsDefaultObject.Settings.OverridePlayerVersion = GetVersion();
            Debug.Log("Addressables: Building player content"); 
            AddressableAssetSettings.BuildPlayerContent();
            Debug.Log("Addressables: finished with override version: " + AddressableAssetSettingsDefaultObject.Settings.OverridePlayerVersion);
        }

How to reproduce

  • See above.

Expected behavior

Additional details

@Sonorpearl Sonorpearl added the bug Something isn't working label Aug 28, 2023
@Sonorpearl
Copy link
Author

Sonorpearl commented Aug 28, 2023

Wrong project, will re-create int: https://github.com/game-ci/unity-builder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant