Search Issue Tracker
Won't Fix
Votes
0
Found in
5.4.1f1
Issue ID
836776
Regression
No
Making public method private when it is assigned to Button's onClick event makes method accessible from the event
Reproduction steps:
1. Open the "bug.zip" project
2. Open the "Test" scene
3. Open the "Example.cs" script
4. Make "Pressed" method private and save the script
5. Notice that the method is still assigned to the button onClick method
Actual result: Method is called from onClick event even though it is private
Expected result: onClick event method gets reset and warning is thrown regarding the issue.
Reproduced on: 5.5.0b6, 5.4.1p4, 5.3.6p4, 5.2.5f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on TextCore::OTL_TableReader::GetOpenTypeLayoutTables when using Japanese Font as TMP Fallback
- TreeView.AddItem performance regression when opening EditorWindow
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
Add comment