Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.1f1
2019.1.0a1
2019.2.0a1
Issue ID
1122302
Regression
No
Private Script functions aren't taken into consideration when used as an Animation Event
How to reproduce:
1. Open attached project (New Unity Project.zip)
2. Select Cube in the Hierarchy
3. In the Animation Window pres Add event
4. See that you can add all functions, even though some of them are private.
Reproducible with: 2017.4.19f1, 2018.3.4f1, 2019.1.0b1, 2019.2.0a3
Actual results: you can add a private function as an Animation Event
Expected results: private functions should be hidden
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note:
Animation Events mirror the behaviour of SendMessage, which lets you call private and public methods.
This behaviour has been the same since at least Unity 5.0, and I'm certain that many users rely on it at this point.