Search Issue Tracker

Fixed in 2020.1

Fixed in 2018.4, 2019.3

Votes

6

Found in

2018.4.9f1

2019.2

2019.2.17f1

2019.3

2020.1

Issue ID

1211380

Regression

Yes

Dynamic functions unavailable when private generic UnityEvent<T> fields have [SerializeField] attribute

Serialization

-

Steps to reproduce:
1. Open the attached project (case_1211380.zip)
2. Select the "Test" Game Object
3. Click the plus icon under "Derived Event Bug ()" (expand "Container" if not expanded already)
4. Select "Test" as the Object
5. Click on "No Function" and navigate to BugExample context menu

Expected result: EventHandler can be selected as a dynamic function
Actual result: Only the static EventHandler function can be selected

Reproduced in: 2018.4.9f1, 2019.2.18f1, 2019.3.0f5, 2020.1.0a20
Not reproducible in: 2017.4.36f1, 2018.4.8f1

Notes:
- In 2018.4.9f1 & 2018.4.10f1 dynamic functions are unavailable for all generic UnityEvent<T> fields

  1. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a23

  2. Response avatar

    Resolution Note (fix version 2019.3):

    Fixed in 2019.3.5f1

  3. Response avatar

    Resolution Note (fix version 2018.4):

    Fixed in 2018.4.19f1

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.