Search Issue Tracker

Fixed in 2020.1.X

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



Found in





Issue ID




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



How to reproduce:
1. Open the attached "" 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. TriCAT_Unity-Pro-1

    Feb 17, 2020 15:33

    Still not fixed for 2019.2.17f1

  2. oybek2891

    Dec 09, 2019 19:23

    Still not fixed in 2019.2.13f and 2019.3.0f1

  3. NeilWishart

    Nov 18, 2019 10:12

    The new issue was marked as a duplicate, anybody looking for info on the new fix will need to check here instead:

  4. luis_oliveiras

    Oct 24, 2019 00:42

    the link to the new issue is broken, could you post it again?

  5. Domas_L

    Oct 22, 2019 17:48

    Hello! It seems that the issue was only partially fixed, and in some cases, in particular when the class is derived from another class, the issue can still be reproduced. This issue is now being tracked, and you can follow its progress here:

  6. mnarimani

    Oct 18, 2019 12:07

    Issue still exists in 2019.2.9

  7. eprovencher

    Oct 15, 2019 16:56

    It seems that there are 2 bugs here. The private field bug may have been fixed, but dynamic method parameters from events are still not fixed.

  8. eprovencher

    Oct 15, 2019 14:21

    Just downloaded 2018.4.11, and the issue is still present with UnityEvents trying to pass dynamic parameters via public functions.

  9. Elringus

    Oct 13, 2019 17:18

    Still not fixed in 2019.2.9f1.

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.