Search Issue Tracker

By Design

Votes

0

Found in

5.0.0b21

Issue ID

668257

Regression

No

AddListener does not work properly in coroutine

UI

-

Steps to reproduce this issue:

1. Open the attached project
2. Run 'TestScene'
3. Press button 1-4 and see text label or console,
4. Listeners are added and working properly
5. In AddListener.cs uncomment first line, which allow preprocessor USE_COROUTINE
6. Run again TestScene
7. press button 1-4 and see text label or console,
8. All listeners receive reference of Button4 only

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.