Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X

Votes

0

Found in

2021.3.43f1

2022.3.46f1

6000.0.19f1

Issue ID

UUM-79883

Regression

No

TCP sockets unable to reconnect after disconnecting when building with IL2CPP

--

-

How to reproduce:
1. Open the attached “IN-83785_BugAsyncSocketsTCP.zip” project
2. Ensure IL2CPP is set as the Scripting Backend
3. Build the project and open 2 instances of it
4. Set the first instance up as a server (simply select “y” when asked if it is a server)
5. Set the second instance up as a client (select “n” when asked if it is a server)
6. Close the client instance
7. Open another instance of the built application and repeat step 5
8. Observe the result

Expected result: Connection is successful and client is able to send messages again
Actual result: Connection is unsuccessful

Reproducible in 2021.3.43f1, 2022.3.46f1, 6000.0.19f1

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

Note: works as intended when using Mono as the Scripting Backend

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.