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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note (fix version 0.10.1-preview):
0.10.1-preview