Search Issue Tracker
Fixed in 2017.3.0f3
Fixed in 2017.2.X, 2017.3.X, 2018.1.X
Won't Fix in 2017.1.X
Votes
3
Found in
2017.1.0f3
Issue ID
941946
Regression
No
[IPv6] [Sockets] [iOS] on iOS devices and Framework 4.6 Socket::BeginConnect Method throws error when connecting to IPv6 network
Reproduction Steps:
1. Open "Bug" project
2. Select "Framework 4.6"
3. Build "test" scene to iOS
4. Deploy to device
5. Connect device to IPv6 network
Note: I was using NAT64 iMac
6. Press UI Button
7. Notice that error is thrown to Xcode's output
Error:
Libinfo call to mDNSResponder on main thread
SocketException: Could not resolve host 'ipv6.google.com'
at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in <00000000000000000000000000000000>:0
at System.Net.Dns.hostent_to_IPHostEntry (System.String originalHostName, System.String h_name, System.String[] h_aliases, System.String[] h_addrlist) [0x00000] in <00000000000000000000000000000000>:0
at System.Net.Dns.GetHostByName (System.String hostName) [0x00000] in <00000000000000000000000000000000>:0
at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00000] in <00000000000000000000000000000000>:0
at System.Net.Dns.GetHostAddresses (System.String hostNameOrAddress) [0x00000] in <00000000000000000000000000000000>:0
at System.Net.Sockets.Socket.BeginConnect (System.String host, System.Int32 port, System.AsyncCallback callback, System.Object state) [0x00000] in <00000000000000000000000000000000>:0
at test.Connect () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Events.InvokableCallList.Invoke (System.Object[] parameters) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.EventSystems.StandaloneInputModule.ProcessTouchPress (UnityEngine.EventSystems.PointerEventData pointerEvent, System.Boolean pressed, System.Boolean released) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.EventSystems.StandaloneInputModule.ProcessTouchEvents () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in <00000000000000000000000000000000>:0
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean)
UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents()
UnityEngine.EventSystems.StandaloneInputModule:Process()
Expected behaviour: No error
Actual result: Error is thrown when connecting to IPv6.
Reproduced on versions: Unity 2017.1.0p2, 2017.1.0p5, 2017.2.0b8, 2017.3.0a5
Reproduced on device: iPhone 5 iOS 10.1.1
Note: Reproduces only with Framework 4.6
Note: Does not reproduce on Android or Editor
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][Mobile Notifications] The Player freezes or crashes when calling "AndroidNotificationCenter.GetNotificationChannel" every frame
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
Add comment