Local unity version is 2021.3.20f
Unity cloud build version is set to: Always Use Latest 2021.3
I have successfully build locally apk and aab files, but in Unity Cloud Build export project fails:
Almost in the beginning of compact log:
[error] [2023-04-28T12:39:56Z - Unity] [Licensing::Client] Error: Code 1 while verifying Licensing Client signature (process Id: 6726, path: “/Volumes/2021_3_23f1/Unity.app/Contents/Frameworks/UnityLicensingClient.app/Contents/MacOS/Unity.Licensing.Client”)
[important] [2023-04-28T12:40:48Z - Unity] Initialize engine version: 2021.3.23f1 (213b516bf396)
[error] [2023-04-28T12:40:53Z - Unity] Start importing Packages/com.unity.remote-config/Editor/Authoring/Core/ErrorHandling using Guid(45290123eb524969bb29cfd3b7cddb69) Importer(-1,00000000000000000000000000000000)
[error] [2023-04-28T12:40:57Z - Unity] Start importing Packages/com.unity.remote-config/Editor/Authoring/Core/ErrorHandling/DuplicateKeysInMultipleFilesException.cs using Guid(a33c51a2a55f4109af77593643d66481) Importer(-1,00000000000000000000000000000000)
[error] [2023-04-28T12:40:58Z - Unity] Start importing Packages/com.unity.remote-config/Editor/Authoring/Core/ErrorHandling/InvalidTypeException.cs using Guid(743855cb2b52c264d8147723cdc9b1e8) Importer(-1,00000000000000000000000000000000) → (artifact id: ‘6cde74a82aebfb42e0ed01c5b1016119’) in 0.001238 seconds
[error] [2023-04-28T12:40:59Z - Unity] Start importing Packages/com.unity.remote-config/Editor/Authoring/Core/ErrorHandling/FileParseException.cs using Guid(46e039ca856a4bd49b833e39bbdc8029) Importer(-1,00000000000000000000000000000000)
[error] [2023-04-28T12:41:00Z - Unity] Start importing Packages/com.unity.remote-config/Editor/Authoring/Core/ErrorHandling/RequestFailedException.cs using Guid(77d3d4fe6c3cd3d46a8071e7b7e83944) Importer(-1,00000000000000000000000000000000)
[error] [2023-04-28T12:41:01Z - Unity] Start importing Packages/com.unity.remote-config/Editor/Authoring/Core/ErrorHandling/MissingEntryForTypeException.cs using Guid(0995d2d22a2e4c208a38c48bf9bb86f2) Importer(-1,00000000000000000000000000000000)
[error] [2023-04-28T12:41:01Z - Unity] Start importing Packages/com.unity.remote-config/Editor/Authoring/Core/ErrorHandling/RemoteConfigDeploymentException.cs using Guid(792e3381b4eb48fcb1753746724ce63a) Importer(-1,00000000000000000000000000000000)
[error] [2023-04-28T12:41:02Z - Unity] Start importing Packages/com.unity.remote-config/Editor/Authoring/Core/ErrorHandling/NoEntriesException.cs using Guid(8b3d79041dc64ec0986e13820818b67a) Importer(-1,00000000000000000000000000000000)
and in the end of compact log:
[error] [2023-04-28T12:51:17Z - Unity] ERROR: Loading package information…
[error] [2023-04-28T12:51:17Z - Unity] ERROR: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[warning] [2023-04-28T12:51:17Z - Unity] Warning: Failed to read or create install properties file.
[warning] [2023-04-28T12:51:17Z - Unity] Warning: Failed to read or create install properties file.
[warning] [2023-04-28T12:51:17Z - Unity] Warning: Failed to read or create install properties file.
[warning] [2023-04-28T12:51:17Z - Unity] Warning: Failed to read or create install properties file.
[error] [2023-04-28T12:51:17Z - Unity] at UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00033] in :0
[error] [2023-04-28T12:51:17Z - Unity] at UnityEditor.Android.Command.RunWithStdin (System.Diagnostics.ProcessStartInfo psi, System.String errorMsg, System.Collections.Generic.IEnumerable`1[T] input) [0x00078] in :0
[error] [warning] [2023-04-28T12:51:17Z - Unity] at UnityEditor.Android.AndroidSDKTools.RunAndroidSdkTool (System.String toolName, System.String arguments, System.Boolean updateCommand, System.String errorMsg, System.String toolsDir, System.String[ ] warningsToIgnore) [0x0007b] in :0
[error] [2023-04-28T12:51:17Z - Unity] at UnityEditor.Android.AndroidSDKTools.RunAndroidSdkTool (System.String toolName, System.String arguments, System.Boolean updateCommand, System.String errorMsg) [0x00001] in :0
[error] [2023-04-28T12:51:17Z - Unity] ERROR: Player export failed. Reason: Building Player failed
[error] [2023-04-28T12:51:48Z - Unity] [Performance] InitializeOnLoad EntitlementsErrorChecker.OpenFirstEntitlementError : 2 samples, Peak. 863 us (1.7x), Avg. 500 us, Total. 999.0 us (0.0%)
[warning] [2023-04-28T12:51:48.120Z] - 7.3.8.2.4.2 - WARN: Running Unity in Batch Mode can help reproduce and debug potential build/test issues.
[warning] [2023-04-28T12:51:48.120Z] - 7.3.8.2.4.2 - WARN: For additional information on building in Batch Mode see https://support.unity.com/hc/en-us/articles/9466056266004-How-do-I-Build-Unity-Project-in-Batchmode-Locally-
[warning] [2023-04-28T12:51:48.120Z] - 7.3.8.2.4.2 - WARN: Try running Unity 2021.3.23f1 in batch mode locally with the following commands:
[warning] [2023-04-28T12:51:48.120Z] - 7.3.8.2.4.2 - WARN: When running from Windows:
[warning] [2023-04-28T12:51:48.120Z] - 7.3.8.2.4.2 - WARN: “C:\Program Files\Unity\Hub\Editor\2021.3.23f1\Editor\Unity.exe” -logFile {PATH_TO_LOG_FILE} -projectPath {PROJECT_PATH} -batchmode -skipMissingProjectID -skipMissingUPID -buildTarget android --quit -executeMethod {CLASS_AND_STATIC_METHOD_NAME_OF_BUILD_SCRIPT} -quit
[warning] [2023-04-28T12:51:48.120Z] - 7.3.8.2.4.2 - WARN: When running from Mac:
[warning] [2023-04-28T12:51:48.120Z] - 7.3.8.2.4.2 - WARN: /APPLICATION_PATH/Unity/Hub/Editor/2021.3.23f1/Unity.app/Contents/MacOS/Unity -logFile {PATH_TO_LOG_FILE} -projectPath {PROJECT_PATH} -batchmode -skipMissingProjectID -skipMissingUPID -buildTarget android --quit -executeMethod {CLASS_AND_STATIC_METHOD_NAME_OF_BUILD_SCRIPT} -quit
[error] [2023-04-28T12:51:48.120Z] - 7.3.8.2.4.2 - FATAL: ! Unity player export failed!
[error] Finished: FAILURE
I don’t have any ideas, because code compiled successfully