Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2018.4.X, 2019.2.X, 2019.3.X

Votes

8

Found in

2019.2.1f1

2019.2.5f1

2019.3.0a12

2020.1.0a1

Issue ID

1178687

Regression

Yes

UnityEvent drawer no longer handles events in non-public fields correctly

uGUI

-

How to reproduce:
1. Open the attached "Event_Listener_Bug.zip" project
2. Open "SampleScene"
3. Select the "Listener" in the Hierarchy
4. In the Player Input component inspector, open the "Events" and "Player" foldouts
5. Try to set the Fire() event listener to Script.Click()

Expected results: The Script.Click() method can be chosen
Actual results: Only static parameters can be chosen

Reproducible with: 2019.2.7f1, 2019.3.0b1, 2020.1.0a2
Not reproducible with: 2018.4.7f1, 2019.2.3f1, 2019.3.0a11

Comments (24)

  1. SkyToss

    Sep 22, 2019 12:39

    Is it fixed pls? I install Unity 2019.3.0b4 Beta and i still dont see dynamic functions with parameters :(. When can i find: Event_Listener_Bug.zip pls? Thx

  2. torcher999

    Sep 21, 2019 21:52

    Occurs in 2019.2.6f1, 2019.3.0b4, 2020.1.0a3 for me.

  3. Chifilly

    Sep 21, 2019 16:32

    I can confirm this is fixed in 2019.3.0b4. I can properly work on my game again

  4. JPoenisch

    Sep 17, 2019 15:19

    Also happens in 2019.2.5f1

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.