Search Issue Tracker
By Design
Votes
0
Found in
5.6.0f2
Issue ID
908172
Regression
No
Buttons "On Click" function field not disappearing when its made private
Repro steps:
1. Open provided projects "BugScene" scene
2. Enter Play mode and click on the "BuggedFeature" button
3. Look at the console and see that the private method still outputs its debug.log function. (This should not happen as the method that has the Debug.log function is private)
4. Click on the canvas component "BuggedFeature" in Hierarchy window
5. In the Inspector windows "On Click" windows click on "BuggedScript.Bug" -> "BuggedScript" and see that you can't select "Bug" because it's private, even though it's currently selected and works
Expected result: For the "BuggedScript.Bug" selection to disappear as it's private
Actual result: After making the function "Bug" in "BuggedScript" private, it's still selected in the "On Click" window
Reproduced with: 2017.1.0b4, 5.6.0p4, 5.5.3p2, 5.4.5p1
Note:
Added a video of repro
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Warnings related to App Icon are being thrown when building project to VisionOS Platform
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
Add comment