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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.