Search Issue Tracker

Fixed in Unity 5.3.6

Votes

1

Found in

5.3.5f1

Issue ID

802618

Regression

No

[iPV6][iOS] Exception when trying to access Socket.LocalEndPoint

IL2CPP

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 2No workaround

To Reproduce:

1. Download the attahced project.
2. Set up an ipv6 environment and connect an iOS device to it.
3. Configure ConnectionSetup (with an ipv4 adress) on a device which is connected to an ip4 env:

ip4 network - PC/mac (which runs unity editor as a server)
|
Mac ipv6 “router”
|
ios device

3. Enter the same address:port in the Ipv6Test script.
4. Run the TcpServer scene on your server device.
(notice that the ipv4 address is transformed https://tools.ietf.org/html/rfc6052)
4. Deploy scene “ipv6_test” to the iOS device.
5. Observe that it succeeds to connect to the server, but it fails with an an exception when trying to access “Scoket.LocalEndPoint”:

- same happens when both devices are on an iPV6 network.
- this is NOT reproducible when both serve and the device are on an ipv4 network.

Comments (3)

  1. 982697de966b80053d39a9c3856e32a8?d=mm

    zzh1234567

    Jun 15, 2016 16:20

    We have the same problem:

  2. 8b1a42e8bcbf816696f60a10cfa3b940?d=mm

    JoshPeterson

    Jun 07, 2016 16:10

    We have corrected this issue now, and the fix should be available in upcoming patch releases.

  3. Fed1d12de2698bf1ea3cc0027a95e9d4?d=mm

    0boggart0

    Jun 07, 2016 15:08

    I faced a similar issue and found out, that this reproducable on IL2CPP scripting backend, but works ok on mono.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.