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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.