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
- Crash on UnityPlayer!profiling::ProfilerManager::DisposeProfilerRecorder+0xa when Player gets relaunched and exited after running for a long amount of time
- [Input system] When releasing one touch and pressing a second touch during a single frame, the second touch is not translated into UI event line OnPointerDown by the InputSystemUIInputModule
- URP Samples - multiple "Attempting to resolve render surface" and other errors appear when setting Quality pipeline asset
- OnDemandRendering.willCurrentFrameRender returns incorrect values in the Player when UnityEngine.Rendering.OnDemandRendering.renderFrameInterval is greater than 1
- Root motion is not reapplied when transitioning from an animation without root motion to an animation with root motion
apluzhnikov
May 31, 2024 15:24
Not fixed, still reproduces in 2021.3.38f1