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
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)
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
- Light theme icon is missing for Volume Component in the Inspector window
- Volume Profile effects are still showing and active in Game View when the Volume Profile is reset
- Shader Graph Tab Lacks Right Margin for Long Titles
- 2DLight component only renders when ShadowCaster2D components are within range in WebGL builds
- Script Component Header has a space in the Inspector window when adding script for State Machine
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
torcher999
Sep 21, 2019 21:52
Occurs in 2019.2.6f1, 2019.3.0b4, 2020.1.0a3 for me.
Chifilly
Sep 21, 2019 16:32
I can confirm this is fixed in 2019.3.0b4. I can properly work on my game again
JPoenisch
Sep 17, 2019 15:19
Also happens in 2019.2.5f1