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

CI pipeline does not compile for Android #193

Open
davidop opened this issue May 17, 2022 · 2 comments
Open

CI pipeline does not compile for Android #193

davidop opened this issue May 17, 2022 · 2 comments

Comments

@davidop
Copy link

davidop commented May 17, 2022

Oculus Quest 2 game, made with Unity, using Azure DevOps for CI

CI pipeline does not compile for Android

image

Unity Build task is throwing non descriptive errors and we cannot say if we are doing something wrong or what... are we using the right ADO task? additional configuration is needed?

pipeline log:
Setting up 1 worker threads for Enlighten.
Thread -> id: 1be8 -> priority: 1
AcceleratorClientConnectionCallback - disconnected - :0
Cleanup mono
Unwatch C:\agent_work\6\s\Logs\UnityBuildLog_2022-05-11-20-46-00.log
The process 'C:\Program Files\Unity\Hub\Editor\2020.3.27f1\Editor\Unity.exe' failed with exit code 1
##[error]The process 'C:\Program Files\Unity\Hub\Editor\2020.3.27f1\Editor\Unity.exe' failed with exit code 1

@Beelzenef
Copy link

any help with this? 😱

@meisterheister
Copy link

meisterheister commented Aug 11, 2023

Same issue here, can't seem to find any solution for this.

Task configuration:

  • task: UnityBuildTask@3
    displayName: Build Unity Project
    name: runbuild
    inputs:
    #buildScriptType: existing
    scriptExecuteMethod: 'AutomatedBuild.Build'
    buildTarget: 'Android'
    unityProjectPath: '$(System.DefaultWorkingDirectory)/'
    outputPath: '/Builds/AndroidPlayer'

Log output:

[Performance] ProcessService.OnProjectLoaded : 1 samples, Peak. 91.2 us (1.0x), Avg. 91.2 us, Total. 91.20 us (0.0%)
[Performance] AssetDatabase.ImportAsset : 3 samples, Peak. 142 ms (1.4x), Avg. 100 ms, Total. 300.1 ms (0.2%)
[Performance] Inspector.InitOrRebuild : 1 samples, Peak. 765 us (1.0x), Avg. 765 us, Total. 765.0 us (0.0%)
Setting up 1 worker threads for Enlighten.
Thread -> id: 9b8 -> priority: 1
AcceleratorClientConnectionCallback - disconnected - :0
Cleanup mono
Checking for leaked weakptr:
Found no leaked weakptrs.
[Package Manager] Server::Kill -- Server was shutdown
##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1691743422573,"processId":1412,"allocatedMemory":4824790,"memoryLabels":[{"Default":-1076},{"Permanent":384},{"NewDelete":257221},{"Thread":95},{"Manager":2104},{"Texture":152},{"Shader":1560},{"GfxDevice":196744},{"Font":4124716},{"FontEngine":4096},{"Physics":1},{"Serialization":456},{"File":8450},{"WebCam":72},{"String":109127},{"DynamicArray":47252},{"HashMap":19339},{"Utility":400},{"Curl":1440},{"PoolAlloc":176},{"GI":336},{"VR":1888},{"Subsystems":96},{"EditorGui":56},{"EditorUtility":1552},{"AssetDatabase":7486},{"RestService":312},{"License":11296},{"UnityConnect":26368},{"Collab":779},{"Licensing":1912}]}
debugger-agent: Unable to listen on 4784
Unwatch D:\a\1\s\Logs\UnityBuildLog_2023-08-11-08-41-36.log
The process 'C:\Program Files\Unity\Hub\Editor\2020.3.27f1\Editor\Unity.exe' failed with exit code 1
=============================== UNITY LOG END ================================
The Unity build failed with exit code -1
##[error]The Unity build failed with exit code -1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants