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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Resolution Note:
Although we might be able to fix this it would come at the cost of bloating the UnityEvent/