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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
Add comment