Search Issue Tracker
Fixed
Fixed in 6000.3.0b7, 6000.4.0a3
Votes
0
Found in
6000.3.0a3
6000.4.0a1
Issue ID
UUM-121729
Regression
No
–upmPack command exits with code 1 on successful pack
When invoking Unity’s Package Manager with the -upmPack argument, the editor produces a valid, signed tarball of a package but still terminates with exit code 1. This non-zero return code can be misinterpreted by CI systems and packaging scripts as a failure, even though the pack operation completed successfully.
Steps to reproduce:
- Run Unity in batch mode with the -upmPack option as indicated in the manual ([https://docs.unity3d.com/6000.3/Documentation/Manual/upm-signature.html])
- Observe that a valid, signed tarball appears in the specified output folder.
- Check the editor process’s exit code. It reports 1 instead of 0.
Expected results:
Unity editor should exit with code 0 when -upmPack completes without errors.
Actual results:
Unity editor exits with code 1 despite producing a correct, signed package.
Notes:
- CI pipelines and custom packaging scripts interpret the non-zero exit code as a failure, leading to false-negative build results.
- Users must implement manual workarounds to ignore or override the exit code.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
Add comment