Where to get started on a very basic LAN server
I'm looking to make a very basic LAN server and many of the tutorials I am finding are for things are so much more complex it is hard to find something relevant. I need a server that is locally hosted...
View Article[Question] Create game pseudo-Server using web database(for Turn-based games)
I would like to use a free web server to host an online database where several users to connect simultaneously to the Web database from the application / game created with Unity. It would be to play...
View ArticlePhoton Unity Network. Accessing the same variable from different players.
Hi. I am new to developing multiplayer games. I am using photon unity networking to develop a kind of 4 player chess game. When a player joins a room I want them to select a specific color for their...
View ArticleShooting a gun over UNET, am I understanding this correctly?
Hey guys, Currently I'm playing aroung with UNET for a bit, and I was wondering whether I am getting this correct. I wanted to have a player shoot a gun he's carrying, which's direction is separate...
View ArticleCommand pattern in Unet
I currently have a game where I use the command pattern. So every action the player can do is encapsulated as an object, all implement the Command interface. I now want to send each command over the...
View ArticleMultiplayer with Google Cardboard: Getting HUD Buttons to work
Hi, I'm trying to work on a multiplayer game for Google Cardboard, and I've been stuck on trying to get the built in Network Manager HUD buttons, or custom Network Manager HUD buttons to work with...
View ArticleClients not spawning on ServerChangeScene
I am using the example of Unity Lobby Manager. The problem i have is when i change scene (already in the game scene) the players prefabs does not spawn. The first time it enters to the game it does...
View ArticleNetworkTransform and Client Velocity
Looks like when the velocity becomes zero on the server, it becomes something like 0.0005 on the client. For example, an enemy stops, and on the server its velocity.x == 0, but on the clients...
View ArticleWhen a client disconnects the server shuts down, why? =(
[EDIT] Oh wow upgrading from 5.2.1 to the new 5.2.2 fixed it. Thanks. So here is some simple NetworkServer + NetworkClient code taken pretty much straight out of the manual. It lets me start up a...
View ArticleIs RPC used for player movement?
In my multiplayer (photon) game, should I be using RPC for input controls moving my player left / right? Or should they just be used for things like firing weapons etc? Thanks
View ArticleMMO Server Configuration Questions
Hey, Guys, Me and my crew are developing a massive multiplayer game. Before I get into the main reason behind my posting and questions, I ask you to please reserve your bashings and "OMG, you are...
View ArticleCustom NetworkDiscovery
How to create custom network discovery (for custom Unity UI) thanks
View Article360 degree view
Hello together, right away...sorry for my imperfect english , i still hope you will understand my current problem. i experimented now a while with the multiplayer, and have static camera positions on...
View ArticleSetNetworkConnectionClass not worked in custom NetworkManager
Unity 5.2.2 Code (CSharp): public class MyNetworkManager : NetworkManager { void Start() { NetworkServer.SetNetworkConnectionClass<MyConnection>();...
View ArticleNetworkDiscovery sample
Attached is a simple project that uses the NetworkDiscovery component that is new in Unity 5.2. The NetworkDiscovery component allows Unity games to find each other on a local network. It can broadcast...
View Article"Failed to spawn server object" client player prefabs not showing up.
From what I've read, to use a custom player object you simply need to override the OnServerAddPlayer() in your network manager. As long as [Auto Create Player ☑], most of the Object Creation Flow...
View ArticleNetworkServer.Spawn() not spawning object at correct position
[EDIT] Nevermind I see that I am not spawning the instantiated object, but the prefab of that object on accident. So from the manual I was under the impression that NetworkServer.Spawn() would spawn...
View ArticleScene Object Not Spawning on Scene Load
I am referencing this page of the docs. Then, when the scene is fully loaded, NetworkServer.SpawnObjects() is called to activate these networked scene objects. This will be done automatically by the...
View ArticleRPG Online Packets
Good afternoon, currenty I'll making a online rpg(2d). I've already finished my server code. My client has some managers which are all using the singleton pattern. SocketManager PacketManager...
View ArticleHow much Bandwidth does your Multiplayer Server use per month?
Hi guys, Just doing a bit of research, and wanted to get an idea of how much bandwidth all your game servers are currently using on a monthly basis? Do you get many fluctuations, or is it fairly...
View Article