public override void SetUp() { GameObject go = new GameObject(); aoi = go.AddComponent <SpatialHashingInterestManagement>(); aoi.visRange = 10; // setup server aoi since InterestManagement Awake isn't called NetworkServer.aoi = aoi; base.SetUp(); // rebuild grid once so the two connections are in there aoi.Update(); }