Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.2.X, 2022.1.X
Votes
0
Found in
2019.4
2020.3
2021.2
2021.2.7f1
2022.1
Issue ID
1388453
Regression
No
Adding Cinemachine prod version from disk in package manager results in InvalidCastException: Specified cast is not valid.
Steps to reproduce:
1. Create a new project
2. Open Package Manager (Window -> Package Manager)
3. Click the + to open the menu to add packages
4. Select "Add package from disk..."
5. Add the attached extracted Cinemachine package from disk
Expected results: Cinemachine is successfully added to Package Manager, nothing breaks
Actual results: "InvalidCastException: Specified cast is not valid." error is produced, Package Manager UI breaks
Reproducible with: 2019.4.34f1, 2020.3.25f1, 2021.2.7f1, 2022.1.0b1
Notes:
- Not all packages added this way breaks Package Manager, tried adding com.unity.ads and that worked just fine
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Project Auditor suggests to update package to a lower version than installed when the recommended package version is not the latest version
- Low performance when multiple meshes using BlendShape are rendered on screen
- TMP Dropdown visually corrupts or disappears when its own GameObject is assigned to "Caption Image" or "Placeholder" elements
- Usymtool tries to upload GameAssembly.pdb when it doesn't exist after building with Mono backend
- “NullReferenceException” error thrown in the Console when running HDRP Wizard “Fix All” in URP project after installing HDRP Package
Add comment