public void Spawn(NetIncomingMessage msg, byte hostId, int objectId, string prefabName, Vector3 pos, Quaternion rot)
    {
        var game_object = (GameObject)GameObject.Instantiate(Resources.Load(prefabName), pos, rot);
        var net_actor   = game_object.GetComponent <NetworkActor>();

        net_actor.host_id     = hostId;
        net_actor.actor_id    = objectId;
        net_actor.is_owner    = NetworkPeer.instance.host_id == hostId;
        net_actor.prefab_name = prefabName;

        NetworkRemoteCall.CallOnServer("RequestObjectRegistration", net_actor.actor_id);
        NetworkActorRegistry.RegisterActor(net_actor);
    }
 void Start()
 {
     LocateAndSortScripts();
     NetworkActorRegistry.RegisterActor(this);
     Init();
 }