Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    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:
    930
    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:
    930
  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.