Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

NetworkTransport.SetBroadcastCredentials error on Mac

Discussion in 'Multiplayer' started by peterept, Jun 29, 2015.

  1. peterept

    peterept

    Joined:
    Dec 6, 2012
    Posts:
    22
    Hi,

    I'm getting this error when trying to setup network discovery:

    By some reason host doesn't have broadcast addreses
    UnityEngine.Networking.NetworkTransport:StartBroadcastDiscovery(Int32, Int32, Int32, Int32, Int32, Byte[], Int32, Int32, Byte&)
    NetworkDiscovery:StartAsServer() (at Assets/NetworkDiscovery.cs:139)
    NetworkDiscovery:OnGUI() (at Assets/NetworkDiscovery.cs:268)

    Any ideas? I'm on Mac running 5.1.0p1. Is this not supported on Mac?

    Thanks,

    Peter
     
  2. zzajac

    zzajac

    Joined:
    Feb 20, 2015
    Posts:
    22
    the same error I'm getting on iOS and Android. Only on Windows i was able to send broadcast.
    All platfroms receive broadcasts correctly.
     
  3. alteredgene-london

    alteredgene-london

    Joined:
    Jul 6, 2015
    Posts:
    1
    having the same error :( any solutions for this?