Search Issue Tracker
Fixed
Fixed in 2022.3.12f1, 2023.1.18f1, 2023.2.0b15, 2023.3.0a11
Votes
6
Found in
2022.3.10f1
2023.1.14f1
2023.2.0b11
2023.3.0a6
Issue ID
UUM-49567
Regression
Yes
"InvalidCastException: Specified cast is not valid." is thrown when creating Animation through script
How to reproduce:
1. Open the attached project "AnimBagProject.zip"
2. Right mouse click on "BadObject" in the Hierarchy window
3. Click on "=====Create Test Animation====="
4. Open Window>Animation>Animation
Expected results: No errors thrown in the Console window
Actual results: "InvalidCastException: Specified cast is not valid." is thrown
Reproducible with: 2022.2.0a7, 2022.3.10f1, 2023.1.14f1, 2023.2.0b11, 2023.3.0a6
Not reproducible with: 2021.3.30f1, 2022.2.0a6
Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Add comment