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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
Resolution Note:
Although we might be able to fix this it would come at the cost of bloating the UnityEvent/