Search Issue Tracker

Fixed in 5.3.0

Votes

0

Found in

5.0.0b14

Issue ID

650600

Regression

No

OnClick() area has empty field when "No Function" is selected

UI

-

OnClick() area has empty field when "No Function" selected

2) How can we reproduce it using the example you attached

1 Create new project or use attached
2 Add Menu->GameObject->UI->Button
3 In Hierarchy select the Button
4 Go to Inspector and in Button component find On Click() area
5 And press "+" and select MainCamera as object and function GameObject->"string name"
6 Create cube in Hierarchy and add new CSharp script tp it
7 Now select the Button in Hierarchy and in On Click() area select Cube as object(instead of MainCamera )
Actual result: the function name is "No Function"(as expected), but there is empty field (Not expected) - see attached image

Please see attached video

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.