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
- [iOS] Final Image misaligned when using "ScalableBufferManager.ResizeBuffers" to resize
- GameObjects are not updating when Materials and Cubemaps are updated from Environmental Reflections
- "Lens Flare (SRP)" Component is missing documentation link
- Reflection problems when unbaked Reflection Probes are present
- Light Explorer columns sorting arrow is too small
Add comment