Search Issue Tracker
Fixed
Fixed in 2021.3.37f1, 2022.3.23f1, 2023.2.17f1, 6000.0.0b14
Votes
0
Found in
2021.3.35f1
2022.3.20f1
2023.2.12f1
2023.3.0b9
6000.0.0b11
Issue ID
UUM-64873
Regression
No
[Linux] Unity Editor fails to import the project in batch mode when building on the Linux VM environment
Reproduction steps:
1. Setup Ubuntu 22.04 on WSL
2. Build the “BugRepro” Project in batch mode (example: {{~/Unity/Hub/Editor/<version>/Editor/Unity -batchmode -quit -nographics -projectPath <project path> -logFile <project path>/build.log -buildTarget Android -executeMethod EditorScript.Build)}}
3. Observe the “build.log” Log file
Expected result: The Project builds successfully
Actual result: The Project build fails with an error ({{./External/baselib/builds/Include/Internal/../C/Internal/Baselib_Semaphore_FutexBased.inl.h(158): Assertion failed (count >= 0) - Destruction is not allowed when there are still threads waiting on the semaphore.}})
Reproducible with: 2021.3.35f1, 2022.3.20f1, 2023.2.12f1, 2023.3.0b9
Reproducible on: WSL Ubuntu 22.04, AWS EC2 (User)
Not reproducible on: Ubuntu 22.04
Notes:
- If the problem does not occur, delete the Library folder, give it a few minutes (~ 2 mins), and open the project again
- Error message on AWS EC2: {{./External/TextureCompressors/Crunch/crnlib/crn_threading_pthreads.cpp(194): Failure: ""semaphore: sem_wait() or sem_timedwait() failed""}}
- Error message on 2023.2 and 2023.3 Unity streams: {{GetManagerFromContext: pointer to object of manager 'PhysicsManager' is NULL (table index 9)}}
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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
apluzhnikov
Oct 10, 2024 08:06
Also persists in 2022.3.35f1
apluzhnikov
May 31, 2024 15:24
Not fixed, still reproduces in 2021.3.38f1