Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.44f1

2022.3.47f1

6000.0.21f1

Issue ID

UUM-82659

Regression

No

Private method is still visible in the Inspector Window's button onClick events when setting it from public to private

--

-

Steps to reproduce:
1. Open the attached “IN-84685.zip” project
2. Open the “SampleScene”
3. In the Hierarchy select “Canvas->Button”
4. Observe the “Button” GameObjects onClick event in the Inspector
5. Open the “Example.cs” script
6. Change the “Method” from public to private
7. Observe the “Button” GameObjects on click event in the Inspector again

Expected result: The “method” isn’t visible and does not work
Actual result: The “method” is visible, but not selectable and does work as designed

Reproducible in: 2021.3.44f1, 2022.3.47f1, 6000.0.21f1

Reproducible with: Windows 11
Not reproducible with: No other environment tested

  1. Resolution Note:

    Thank you for bringing this issue to our attention. After careful consideration, we will not be addressing your issue now, as we are committed to resolving other higher-priority issues.

    While we recognize this long-standing behavior isn't expected, we cannot correct it without breaking existing user project and asset store asset workarounds or positive (if unsupported) usages.

    Our priority levels are determined by factors such as the severity and frequency of an issue and the number of users affected by it. However, we know each case is different, so please continue to log any issues you find and provide any general feedback on our roadmap page to help us prioritize.

    Roadmap https://unity.com/roadmap/unity-platform/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.