FPSController : Enabling for network
I am fairly new to Unity and I have gone through a simple networking demo (new Unity framework), I have also played with the FPSController. I thought it would be fairly easy to enable networking on...
View ArticleUDP Connection from Python possible?
Hi All I've setup a UDP socket/host on 127.0.0.1:8008 and written a small unity3d program that sends a message to the 'server' app. This works. However, I want to send UDP messages from my Python code...
View ArticleUnet 2D raycasting
Hello, I'm trying to make a simple 2D multiplayer shooter game using Unet and right now I'm working on raycasting. Basically I'm trying to make it so that when the player is pressing "A" -key, raycast...
View ArticleBasic LLAPI Implementation Examples
Hi All, Recently I start working with UNET and LLAPI and I made some basic examples of use. The code support Server/Client in the same Instance, also it supports Multithreading, but you still need to...
View ArticleNetworkServer Spawn Question (Clients)
Hello, I have a situation where when the host creates room, I'm spawning an object using "NetworkServer.Spawn". However, when a client then joins the room, he is not getting that spawned game object....
View ArticleStandalone server build
Standalone server build should be a different target like Android, iOS. When you build it now, it includes server side code to the client. it will cause security issue. there should be platform defines...
View ArticleMaster Server down ?
Hi all, We are using the deprecated Network system in our app, with the Unity Master Server and facilitator. The server seems to be down, I never get the host list (it is not working anymore since...
View ArticleAccessing SQL Server in Unity - An existing connection was forcibly closed by...
This was originally posted in scripting, but no help was given, I thought maybe the people who look on the multiplayer networking section might be able to help more. Forgive me for double posting, I...
View ArticleWho calculates collisions?
In a typical unet setup, using high level API, I understand the host calculates the physics and just sends transform updates to clients. So the server probably also does all collision detection? Sorry...
View ArticleNetworkTransformChild "root must have NetworkTransform" error
I've got a GameObject with a NetworkIdentity, a NetworkTransform, and a NetworkTransformChild. That GameObject has a child GameObject, and when I try to assign the child object to the 'target' property...
View ArticleNetworkServer.Disconnect graceful disconnection
Hi How disconnection is handled in uNet. In most socket and network libraries there are two ways to disconnect. One is forced and one happens after all current packets are sent to the...
View ArticlehostId is -1 when starting as host in overridden NetworkManager
I'm trying to make a simple local Lobby that uses an overridden NetworkManager to start as a host: Code (CSharp): public void btn_StartAsHost() { NetworkManagerOverride.singleton.StartHost(); }...
View ArticleMMO Login Server Question
Hi, My background on MMO is that I have only played a few. Network programming skills are of a novice. I have implemented a basic Login Server where the Login Server listens for clients, if clients...
View Articleintegrating node in unity
i guess it's possible to integrate node in unity, right? any feedback?
View Articlesyncing without SyncVar - can't wrap my head around it
Hey there, I am trying to understand the way the HLAPI networking is functioning, but I am running into problems when I try to sync more complex data (think: two-dimensional array with game objects,...
View ArticleNetwork Identity on non-network game disables player prefabs
I have a game that needs to run in standalone and multiplayer network modes. When the player prefab is instantiated in the standalone mode, the gameobject gets disabled (because it has the Network...
View ArticleMy First Multiplayer Project - Need some help
Ok, I have managed to get to separate copies of my project to connect through PUN using the following: Copy 1: PhotonNetwork.ConnectUsingSettings(); PhotonNetwork.CreateRoom(roomName); Copy2:...
View Article[PhotonPUN]Bullet Collision Problem
Hello, I am working on a 2D multiplayer game. Right now i am trying to collide the bullet with the player but whatever i did, i couldn't reach the success with it. I have searched a lot but i couldn't...
View ArticleNetworkServer SpawnObjects "Spawn scene object not found for X" error
Hello all. I have this problem when i'm using NetworkServer.SpawnObject(), the objects in scene have a NetworkIdentity and when the server host it uses this. The host can view all objects, and no...
View ArticleMultiplayer online networking alternatives: UNet vs Bolt vs Photon (PUN) vs...
Hey Guys. Sorry if this question has been asked and answered before (please flick a link and i will shut up). Recently, i have been looking into creating a Multiplayer game. Specially since i heard...
View Article