Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.2.1f1
Issue ID
1005679
Regression
No
Confusing errors are thrown when using "-importPackage" argument without providing a correct path to .unitypackage file
How to reproduce:
1. Acquire a Unity project
2. Execute this in terminal: "./Unity -projectPath /path/to/project -importPackage /random/path/"
(Leave out x.unitypackage file itself from the path. E.g., "./Unity -projectPath ~/project -importPackage ~/")
3. Observe the errors thrown in the Unity Console once Launched:
"Failed to import package with error: Couldn't decompress package"
"Failed importing package"
Expected result: an error is thrown, explaining that a .unitypackage file was not found in the provided file path
Actual result: errors thrown that are confusing for users:
"Failed to import package with error: Couldn't decompress package",
"Failed importing package"
Reproduced with: 5.5.6f1, 5.6.5p2, 2017.1.3p2, 2017.2.2f1, 2017.3.1p3, 2018.1.0b11, 2018.2.0a5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment