How to reproduce:
1. Unarchive the “IN-45463” project
2. Open the Terminal and run sudo /Applications/Unity/[UnityVersion]/Unity.app/Contents/MacOS/Unity -ProjectPath ["IN-45463" project path] -batchmode -nographics -quit -executeMethod TestBuild.Run
3. Observe the Terminal
Expected result: The execution is finished with “Exiting batchmode successfully now!” message
Actual result: The execution hangs after “Worker ready: AssetImportWorker0 0”
Reproducible with: 2022.2.14f1, 2022.3.4f1, 2023.1.3f1, 2023.2.0a20
Not reproducible with: 2021.3.28f1, 2022.2.13f1, 2023.2.0a23
Fixed in: 2023.2.0a21
Testing environment: macOS 13.4.1 (M1), macOS 13.2.1 (Intel)