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
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient mode
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