Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

(Case 1054137) Socket.Receive is unstable with .net 4.5 equivalent

Discussion in '2018.3 Beta' started by tobiass, Oct 9, 2018.

  1. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,056
    We found that the Socket.Receive(byte[] buffer) method can block, if there is "enough" activity on the socket. Wireshark confirms the incoming datagrams, even if Receive() doesn't get them anymore.

    The runtime v3.5 does not have the issue and I couldn't repro this in IL2CPP.
    This also happens in beta 4.

    I sent a link to an updated repro case but it doesn't how in fogbugz yet. Not sure if it's in the system. I can PM that anytime.
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,881
    Can you send me the case number for this issue?
     
  3. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,056
    Forgot to put it in the text, too. See topic: (Case 1054137). :)
     
    LeonhardP likes this.
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,881
    Oops, I missed that, sorry!
     
    tobiass likes this.