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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment