Dinomite-Studios / unity-azure-pipelines-tasks

Azure DevOps extension adding tools to build and deploy Unity 3D projects using Azure Pipelines
https://unitydevops.com/
MIT License
121 stars 49 forks source link

CI pipeline does not compile for Android #193

Open davidop opened 2 years ago

davidop commented 2 years ago

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 commented 2 years ago

any help with this? 😱

meisterheister commented 1 year ago

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

Task configuration:

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