Search Issue Tracker
Fixed
Fixed in 2020.3.42f1, 2021.3.13f1, 2022.1.0a3, 2023.1.0a4
Votes
0
Found in
2020.3.34f1
2021.2.0b3
2022.1.2f1
2022.2.0a15
2023.1.0a1
Issue ID
UUM-1964
Regression
Yes
[Landed] Segmentation fault: 11 error is thrown when project is built using batch mode
Reproduction steps:
1. Open the "unityBuild.sh" script that is in the attached project "BuildTestURP.zip" from Google Drive
2. Edit "UNITY_APP_PATH", "UNITY_PROJECT_PATH" and "UNITY_LOG_PATH" lines accordingly to where these files are located
3. Open "BuildTestURP" in Terminal
4. In the terminal enter command "sh unityBuild.sh"
Expected result: Build is successful, the apk file is created
Actual result: Terminal shows that build is successful, but there is an error "Segmentation fault: 11 $UNITY_APP_PATH -batchmode -quit -projectPath $UNITY_PROJECT_PATH -executeMethod $UNITY_BUILDE_NAME -logfile $UNITY_LOG_PATH", apk file is not created
Reproducible with: 2020.3.34f1, 2021.2.0b3, 2022.1.2f1, 2022.2.0a15
Not reproducible with: 2019.4.39f1, 2021.2.0b4, 2021.3.3f1
Tested with:
macOS 12.2 (Intel)
Note: On some reproducible versions "Segmentation fault: 11" is not shown, but the APK will not be created
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
- Element UI disappears and NullReferenceException is thrown when dragging off the last or first element from the list in the Inspector
- [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode
- [Android] GraphicsBuffer.CopyCount does not work with Append Compute Buffer after Compute Shader Dispatch on some Android devices
- "DirectoryNotFoundException" error when building a project via script in one folder, then building via Editor in another, deleting the folder built via Editor and rebuilding via Script
- New items are created and old ones remain in memory when using 'treeView.SetRootItems(items)' and 'treeView.Rebuild()' which can cause a memory leak
Resolution Note (fix version 2023.1.0a4):
Editor: Fixed Mac Editor crash that happened in multi-scene builds that were using BuildOptions.DetailedBuildReport
Resolution Note (fix version 2022.1.0a3):
Fixed in 2022.1.0a3
Resolution Note (fix version 2020.3.42f1):
Fixed in 2020.3.42f1