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
- “ValidateSchema Error2” error is thrown in the Player when using IL2CPP Scripting Backend
- Symbolic links disappear when a .xcframework file is added through the Unity Editor
- Errors regarding importing occur upon opening a project when the "Library" folder is deleted
- MeshRenderer.sortingLayerID cannot be changed when change is being done in a built Player
- Warnings related to App Icon are being thrown when building project to VisionOS Platform
Add comment