Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
2018.4
2019.4.11f1
2020.2
Issue ID
1281399
Regression
No
UnityEvent removes 'set_' from method name when selecting methods in the OnClick() event Function dropdown
How to reproduce:
1. Open the attached '1281399.zip' project
2. Open the 'SampleScene' Scene
3. In the Hierarchy window select 'Canvas' > 'Button'
4. In the Inspector window under the Button component expand the Function selection dropdown
5. In the Function selection dropdown select 'Test' > 'Test_Method'
Expected result: The displayed method name is 'set_TestMethod'
Actual result: The displayed method name is 'TestMethod'
Reproducible with: 2018.4.28f1, 2019.4.12f1, 2020.1.8f1, 2020.2.0b6
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
- Package Manager redirection buttons are changed to "Checkmarks" after installing additional Packages in the Multiplayer Center
- [Linux] Character '@' is not inputted when pressing AltGr + Q with a German keyboard layout
- Animation is affected by TimeScale when setting Animator's updateMode to UnscaledTime in onDisable()
- Sprites lose their reference in Scene and Game view when changing Texture2D Import Settings
- “Assemblies” and “Areas” tabs disappears after switching to Scene tab and back in the Assemblies filter window
Resolution Note:
Although we might be able to fix this it would come at the cost of bloating the UnityEvent/