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
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
- [Android] Gfx.WaitForGfxCommandsFromMainThread high performance usage and inconsistency when built Player scene has Canvas GameObject on a specific Project
Add comment