Search Issue Tracker
Fixed in 4.6.1
Votes
0
Found in
4.6.0f2
Issue ID
649407
Regression
No
A registered listener did not receive an event when invoking, after another listener is removed
To reproduce this issue:
1. Open the attached project
2. Open 'Test event' scene
3. It has a script which creates Unity Event and adds 2 listeners
4. Play the scene
5. Press 'T' which invokes event
6. The first listener receives the event ( "Test" is outputed in the console)
7. Then first listener removes itself from the listeners
8. The second listener does not receive the event
6. Press 'T' again
7. Now the second listener receives it ( "Hello" is outputed)
If you do not remove listener after receiving the event, everything works fine and both listener receives the event
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment