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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Add comment