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
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Resolution Note (fix version 0.10.1-preview):
0.10.1-preview