Search Issue Tracker
Fixed in 0.10.1-preview
Votes
0
Found in [Package]
0.5.7-preview
Issue ID
1216589
Regression
No
[UI Builder] InvalidCastException thrown when adding a Slider(Int) from Library Browser to Hierarchy window
How to reproduce:
1. Open the project from the attached file "1216589.zip"
2. In the UI Builder window, drag and drop Slider(Int) from Library Browser to Hierarchy window
3. Inspect the Console
Expected result: Slider(Int) is added to the Hierarchy with no errors thrown
Actual result: Slider(Int) is added to the "Hierarchy with InvalidCastException: Specified cast is not valid." error thrown
Not reproducible with: UI Builder 0.10.1-preview(2019.3.2f1, 2020.1.0a23)
Reproducible with: UI Builder 0.5.7-preview(2019.3.2f1), UI Builder 0.10.0-preview(2019.3.2f1, 2020.1.0a23)
Could not test with: 2017.4.37f1, 2018.4.17f1(UI Builder not introduced)
Note: When Slider(Int) is in Hierarchy, selecting it throws "NullReferenceException: Object reference not set to an instance of an object" error
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (fix version 0.10.1-preview):
0.10.1-preview