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
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
Add comment