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
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
Add comment