Search Unity

Large state update Warning Causing Huge frame drop...

Discussion in 'Multiplayer' started by Wtyson, Dec 11, 2015.

  1. Wtyson

    Wtyson

    Joined:
    Aug 15, 2014
    Posts:
    57
    So any time any thing in my scene moves on the server i get this warning
    Large state update of 49 bytes (max is 0 for netId:5 from script:XXX (UnityEngine.Networking.NetworkTransform)
    UnityEngine.Networking.NetworkIdentity:UNetStaticUpdate()

    now with a large number of npcs and this warning going over every frame my frames drop like a rock killing the ability to do any testing. heres a image of my profiler.



    is there any way to fix this issue ? as of now i cant test any scripts that require a large number of ai running around ....
     
  2. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,356
  3. Wtyson

    Wtyson

    Joined:
    Aug 15, 2014
    Posts:
    57
    @snacktime yes i know this im asking if theres a way to block this message spam since i can not get a cs number to block it using #pragma warning disable xxx to block the message entirely
     
    Last edited: Dec 12, 2015