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

Package: UI Builder

-

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

  1. Resolution Note (fix version 0.10.1-preview):

    0.10.1-preview

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.