Search Unity

NetworkServer.RegisterHandler consumes all cpu

Discussion in 'Multiplayer' started by MasoInar, May 19, 2017.

  1. MasoInar

    MasoInar

    Joined:
    Feb 20, 2014
    Posts:
    126
    Hi,

    I noticed that when adding NetworkServer.RegisterHandler(..) on my script, unity starts consuming 100% of my cpu. It happens on editor, stand alone windows and also on headless linux builds.

    I tested with 5.6.1f1 and also latest beta 2017.1.0b5

    Is this bug or is there somehting I don't understand?
     
  2. MasoInar

    MasoInar

    Joined:
    Feb 20, 2014
    Posts:
    126
    Just quick update. Filled a bug report and got almost instant reply that it's fixed in upcoming b6 release. Nice
     
    KyleOlsen and DungDajHjep like this.