Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
4.1.0
Issue ID
1182870
Regression
No
[ProBuilder] InvalidCastException is thrown when ProBuilder package is reinstalled from the Package Manager
Reinstalling the "ProBuilder" package from "Package Manager" throws InvalidCastException error, Refer attached video.
Steps to repro:
1. Create a new project
2. Window > Package Manager
3. Install "ProBuilder" Package
4. Create a PB cube from the Tools->ProBuilderWindow tool (or use shortcut CTRL+K)
5. Remove "ProBuilder" Package
6. The cube should now display mangenta in the scene view since the shader used doesn't exist anymore
7. Delete the Cube from the hierarchy
8. Re-Install "ProBuilder" Package
Actual Result:
InvalidCastException is thrown in the console.
Expected Result:
Probuilder package is reinstalled without any issues.
Reproducible on: 2019.3.0b2, 2019.2.11f1,2019.1.11f1
Package Version working on 4.0.5 and earlier
Package Version issue found 4.1.0
Error Details:
InvalidCastException: Specified cast is not valid.
UnityEditor.ProBuilder.ProBuilderMeshEditor.OnEnable () (at library/packagecache/com.unity.probuilder@4.1.0/editor/editorcore/probuildermesheditor.cs:57)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Add comment