Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.51f1

2022.3.61f1

6000.0.48f1

6000.1.0f1

6000.2.0a10

6000.3.0a1

Issue ID

UUM-104606

Regression

No

Editor is frozen on "Reloading Domain" when entering Play Mode for the second time using Socket.Poll(-1, ...)

-

Steps to reproduce:
1. Open the “TestSocketPoll.zip” project
2. Open the “SampleScene”
3. Enter Play Mode
4. Exit Play Mode
5. Enter Play Mode again
6. Observe the results

Expected result: Play Mode is started
Actual result: Loading bar is stuck on “Reloading Domain” indefinitely

Reproducible in: 2021.3.51f1, 2022.1.0a1, 2022.3.61f1, 6000.0.48f1, 6000.1.0f1, 6000.2.0a10

Reproducible on: Windows 11
Not reproducible on: No other environment tested

  1. Resolution Note:

    The Socket.Poll method does call into the operating systems native select function.  The native select function blocks in operating system code with no way to exit the wait.  This means we are unable to exit the thread that calls Socket.Poll during domain reload.   This is not something we plan on fixing.

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.