Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

OnSerializeNetworkView executed before or after Start() ?

Discussion in 'Multiplayer' started by llavigne, Mar 25, 2008.

  1. llavigne


    Dec 27, 2007
    It seems it's executed before which makes no sense confirmation ?
  2. chrismarch


    Jul 24, 2013
    After for the case I am looking at (on a client, with an instance created on the server). I doubt you can rely on the order, unfortunately. I wish I could in this case, as I find the documentation on MonoBehavior.Awake to have led me in the wrong direction:
    "use Awake instead of the constructor for initialization, as the serialized state of the component is undefined at construction time"