async Task IConnection.SpawnGameObject(string namePrefab, string nameNotOwnedPrefab, Guid localID, Guid ownerId, Guid bundleId, Guid avatarId, IGameObject obj, string address) { _logger.Info("Spawning object:" + localID); _spawnedObjects.Add(localID, obj); Console.WriteLine("LocalId: " + localID); foreach (var cln in _clients) { cln.Value.OnSpawnedGameObject(namePrefab, nameNotOwnedPrefab, localID, obj.GetOwnerId().Result, bundleId, obj.GetAvatarId().Result, obj.GetServerAddress().Result, obj.GetSnapshot().Result); } }