Search Issue Tracker
Fixed
Fixed in 2022.2.0b15, 2023.1.0a16
Votes
0
Found in
2022.2.0b3
2023.1.0a4
Issue ID
UUM-10003
Regression
Yes
InvalidCastException errors are thrown when inspecting a MeshRenderer.Material Reference Curve in the Curve Editor
How to reproduce:
1. Open the user's attached project
2. Open scene Scenes/SampleScene
3. In the Hierarchy, select "Cube"
4. Go to the Animation window (Window -> Animation -> Animation)
5. Select the property "MeshRenderer.Material Reference[0]" under the New Animation clip
6. Select the Curves tab next to Dopesheet
7. Observe the Console
Expected result: no exceptions are thrown
Actual result: "InvalidCastException: Specified cast is not valid" errors are thrown, along with ArgumentException
Reproducible with: 2022.2.0a6, 2022.2.0b3, 2023.1.0a4
Not reproducible with: 2019.4.40f1, 2020.3.37f1, 2021.3.7f1, 2022.1.11f1, 2022.2.0a5
Add comment
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
Resolution Note (fix version 2023.1.0a16):
There is already a fix by https://github.cds.internal.unity3d.com/unity/unity/pull/12600 currently being merged to trunk