Search Issue Tracker
Won't Fix
Unknown (hidden) 2023.1.X
Votes
0
Found in
2023.1.0a12
Issue ID
UUM-15329
Regression
Yes
[Linux] Errors thrown repeatedly when running Unity in a headless environment while Parallel Import option is enabled
Reproduction steps:
1. Download the attached project: "TestBatchmode.zip"
2. Set up Unity in a headless environment (Docker container, headless server, etc.)
3. Upload the downloaded project to the environment
4. Run the following command in the environment: "/path/to/Unity -quit -projectPath /path/to/project -nographics -batchmode -executeMethod Test.Batchmode"
Expected result: The test executes without any issue and the process quits successfully
Actual result: The process gets stuck in a loop with the following being printed in the console:
Starting new worker id: 0 with log in /path/to/project/Logs/AssetImportWorker0.log
Starting new worker id: 1 with log in /path/to/project/Logs/AssetImportWorker1.log
\[OnDemand] Worker 0: WorkerState(Connecting), ImporterState(Initializing) worker timed out connecting with editor - while handling artifactKey Guid(00000000000000000000000000000000) Importer(-2,00000000000000000000000000000000) - path - see Logs/AssetImportWorker0.log
Starting new worker id: 2 with log in /path/to/project/Logs/AssetImportWorker2.log
\[OnDemand] Worker 1: WorkerState(Connecting), ImporterState(Initializing) worker timed out connecting with editor - while handling artifactKey Guid(00000000000000000000000000000000) Importer(-2,00000000000000000000000000000000) - path - see Logs/AssetImportWorker1.log
Reproducible with: 2021.3.10f1, 2022.16f1
Not reproducible with: 2020.3 (according to some users)
Could not test with: 2022.2, 2023.1 (due to GameCI not having Docker Images of alpha and beta Unity streams)
Notes:
- Not reproducible on a regular Ubuntu 18.04 machine
- Reproduced while using a Docker container within WSL (detailed instructions included below)
- Used GameCI provided Docker Images found here: https://hub.docker.com/u/unityci
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Render Graph Viewer Resource list becomes shrunk after using a filter that yields no results
- [Android] [Vulkan] "VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT" not added on some Android devices in "com.unity3d.player.UnityPlayerActivity/2D Colour Attachement"
- ResolveUsePasses now extracts passes from all subshaders including fallbacks, in contrast to documented behaviour
- [UIBuilder] Changes aren't detected on types implementing IList
- [HDRP] Text is rendered with artefacts when using STP and resolution scale is set a float value
Resolution Note:
* Tested on following conditions and this issue was not reproducible:
1. Ubuntu 22.04 LTS Desktop VM and on hardware
2. Ubuntu 22.04 LTS Server
3. WSL2 on Windows 11