Search Issue Tracker

Fixed in 5.6.0

Votes

1

Found in

5.2.0f3

Issue ID

726863

Regression

No

NullReferenceException is thrown after adding event to multiple UI components at once and multiple Inspector tabs are visible

UI

-

Steps to reproduce:

1. Open attached project
2. Open scene "multiple buttons event test"
3. Add one more Inspector window. Now, there should be two in total
4. Make sure that both of these windows are visible
5. In hierarchy, expand "Canvas" and select multiple buttons
6. In inspector, Press "+" to add one more OnClick() event
7. Notice NullReferenceException thrown in console

Note: this also happens when adding events to other UI components (e.g. toggle component)

Workaround: use only one Inspector window

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.