Search Issue Tracker

By Design

Votes

0

Found in

2018.3.0f2

Issue ID

1113136

Regression

No

Client occasionally fails to connect to server when using ENet networking library and .NET 4.x as a Scripting Runtime Version

Networking

-

does not reproduce with .NET 3.5

To reproduce:
1. Open attached project "ENet-CSharp-IL2CPP.zip"
2. Enter and exit Play mode repeatedly (could take 0-15 attempts)
3. Observe the console after each attempt (Setting console to Clear on Play helps)

Expected: connection to server is established successfully each time (connection info printed)
Actual: the connection occasionally does not get established (no logs printed)

Reproduced in: 2017.4.22f1, 2018.3.8f1, 2019.1.0b6, 2019.2.0a7

Note: Seems like 2018.3 has the highest probability of reproducing the issue

  1. Resolution Note:

    String passed to native code was not being NULL terminated.

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.