Search Issue Tracker

Fixed in 2020.1

Votes

1

Found in

2020.1.0a1

2020.1.0a5

Issue ID

1188510

Regression

No

UnityEvent<T> variable isn't shown in the inspector when trying to serialize it

uGUI

-

Steps to reproduce:
1. Open the attached project ("1188510.zip")
2. Open the "SampleScene"
3. Select "TestEventSerialization" GameObject in the Hierarchy
4. Observe the Inspector

Expected result: variable 'ideal' of type UnityEvent<int> is serialized and shown in the inspector
Actual result: variable 'ideal' of type UnityEvent<int> is not shown in the inspector

Reproducible with: 2020.1.0a8

Note:
- Support for serializing fields of generic types directly introduced in 2020.1.

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.