Search Unity

Question InvalidOperationException: Failed to initialize the NetworkInterface. Error Code: -1.

Discussion in 'NetCode for ECS' started by iaming, Dec 21, 2021.

  1. iaming

    iaming

    Joined:
    Feb 21, 2017
    Posts:
    3
  2. timjohansson

    timjohansson

    Unity Technologies

    Joined:
    Jul 13, 2016
    Posts:
    473
    This looks like a bug in either the transport package or the Unity editor causing opening of sockets to fail, but issues like this can also sometimes be caused by firewalls blocking apps from opening sockets. Which version of Unity are you using?
    If you are using 2020.3.x, can you please report a bug for this so we can investigate further?