Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2020.3.X, 2021.2.X, 2022.1.X
Votes
0
Found in
2019.4
2020.3
2020.3.19f1
2021.1
2021.2
2022.1
Issue ID
1375776
Regression
No
Unity terminates with error code 0 when an exception occurs while importing a package in bach mode
Steps to reproduce:
1. Create an empty project, then close it
2. Download and extract the attached "somePackage.unitypackage" into the created project's folder
3. Open Terminal/Windows Command Prompt and navigate to the Editor location
4. Launch Unity Editor with the following command-line arguments: "Unity.exe -batchmode -nographics -quit -logfile "<project_pathname>\editor.log" -projectPath "<project_pathname>" -importPackage "<project_pathname>\somePackage.unitypackage""
5. Open editor.log in the project's folder and scroll to the bottom of the file
Expected result: last lines read "Scripts have compiler errors. Exiting without the bug reporter. Application will terminate with return code 1"
Actual result: the last line reads "Exiting without the bug reporter. Application will terminate with return code 0"
Reproducible with: 2019.4.32f1, 2020.3.22f1, 2021.1.28f1, 2021.2.1f1, 2022.1.0a13
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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a3
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b7
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.11f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.28f1