Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.4.0f1

2018.2.14f1

2018.3.0a1

2019.1.0a1

Issue ID

1096001

Regression

No

UnityEvent.RemoveListener doesn't remove object reference when UnityEvent Invoke is called

uGUI

-

How to reproduce:
1. Open attached project "_test_proj_events.zip" and scene "SampleScene"
2. Enter Play mode
3. In Game view, press "Create object and subscribe" button
4. Observer Console window

Expected result: After a few seconds a warning is printed out "Object 0 destructor"
Actual result: the warning is only printed after clicking on a "Create object and subscribe" button once more

Reproducible with: 2019.1.0a12, 2018.3.1f1, 2017.4.16f1

  1. Resolution Note (2019.2.X):

    Low priority defect for the moment. This bug is unlikely to be fixed in the near future.

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.