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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note (fix version 0.10.1-preview):
0.10.1-preview