Search Issue Tracker

By Design

Votes

0

Found in

2017.4.0f1

2018.3.0a1

2018.3.7f1

2019.1.0a1

2019.2.0a1

Issue ID

1134604

Regression

No

Udp packets are queued up/delayed when await Client.ReceiveAsync in async method is being called

Mono

-

How to reproduce:
1. Open attached project "NetworkTest.zip" and scene "SampleScene"
2. Enter Play mode and observe the Console window

Expected result: the overflown udp packets are dropped, the printed time is equal to the current computer time
Actual result: the udp packets are queued up, the printed time is delayed

Reproducible with: 2017.4.23f1, 2018.3.8f1, 2019.1.0b6, 2019.2.0a7

  1. Resolution Note:

    Example was queuing all completion onto the UI thread with async/await rather than completing on the background worker threads.

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.