Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X

Votes

3

Found in

2021.3.37f1

2022.3.25f1

2023.2.19f1

6000.0.0b15

Issue ID

UUM-69815

Regression

No

Batch Mode and Cloud Build get stuck at 'Scanning for ADB Devices' when building for the Android or iOS platforms

--

-

Reproduction steps:
1. Open the “run_cloud_build_batch.sh" with an IDE (e.g.: TextEdit or Visual Studio)
2. change the “export PROJECT_PATH=” and “export UNITY_EXE=” fields to the “cloud_build_test” project path and an Editor path respectively
(e.g.:
export PROJECT_PATH="/Users/_cloud_build_test"
export UNITY_EXE="/Applications/Unity/2021.3.37f1/Unity.app/Contents/MacOS/Unity")
3. Run the “run_cloud_build_batch.sh" in a Terminal
4. Observe the Terminal Window

Expected result: The batch mode build succeeds
Actual result: The batch mode build logs “Android Extension - Scanning For ADB Devices” and does not progress further or logs the same entry after a long period

Reproducible with: 2021.3.37f1, 2022.3.25f1, 2023.2.19f1, 6000.0.0b15

Reproducible on: MacOS Sonoma 14.4.1 (Intel), (M1 (user’s))
Not reproducible on: No other environment tested

Notes:
- The project contains only one file for batch-mode building
- The issue occurs regardless of whether any mobile devices are plugged in or not
- The user reported that both local and Cloud builds are affected
- The user reported that the issue also occurs when the iOS platform is selected
- Could not test with a Standalone platform (“Assets/CommandLineBuild.cs(20,14): error CS0103: The name 'buildTargetGroup' does not exist in the current context” error during both batch mode and Editor builds)
- Users have reported that the Standalone platform is also affected
- Users have reported that the issue also occurs when baking lightning in the Batch Mode

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.