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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
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.