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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment