Search Unity

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

Bug Assertion failed error when creating NetworkDriver or NetworkEndPoint

Discussion in 'Unity Transport' started by Kichang-Kim, May 25, 2021.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,003
    Hi, when using Unity Transport 0.8.0-preview.8, assertion failed error is shown when creating NetworkDriver.

    Assertion failed
    UnityEngine.Debug:Assert (bool)
    Unity.Networking.Transport.NetworkEndPoint:CreateAddress (uint16,Unity.Networking.Transport.NetworkEndPoint/AddressType,Unity.Networking.Transport.NetworkFamily) (at Library/PackageCache/com.unity.transport@0.8.0-preview.8/Runtime/NetworkEndPoint.cs:249)
    Unity.Networking.Transport.NetworkEndPoint:get_AnyIpv4 () (at Library/PackageCache/com.unity.transport@0.8.0-preview.8/Runtime/NetworkEndPoint.cs:113)
    Unity.Networking.Transport.BaselibNetworkInterface:Initialize (Unity.Networking.Transport.INetworkParameter[]) (at Library/PackageCache/com.unity.transport@0.8.0-preview.8/Runtime/BaselibNetworkInterface.cs:211)
    Unity.Networking.Transport.NetworkDriver:.ctor (Unity.Networking.Transport.INetworkInterface,Unity.Networking.Transport.INetworkParameter[]) (at Library/PackageCache/com.unity.transport@0.8.0-preview.8/Runtime/NetworkDriver.cs:524)
    Unity.Networking.Transport.NetworkDriver:Create (Unity.Networking.Transport.INetworkParameter[]) (at Library/PackageCache/com.unity.transport@0.8.0-preview.8/Runtime/NetworkDriver.cs:491)

    It does not occurred when using 0.6.0-preview.7.

    Edit:
    Reported as Case 1338602.
     
    Last edited: May 25, 2021
  2. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,003
  3. scarofsky

    scarofsky

    Joined:
    Sep 29, 2016
    Posts:
    11
    Does anyone look into this issue?
     
  4. Mortas

    Mortas

    Joined:
    Jan 27, 2013
    Posts:
    1
    also waiting, any indication when we can get this?
     
  5. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    Yes this has been fixed in the next release of the package!
     
    Mortas likes this.