Developing and Programming an Efficient Network Architecture
TLDR; Looking for more efficient ideas on my Network Architecture, I'd like to keep the part that is not a WIP for my Network Architecture if possible, and there are code questions down below in bullet...
View ArticleHeadless Unet Server
We are trying to deploy massive dedicated headless UNet Servers on one linux machine. But the memory and cpu becomes the issues. Does Unity has the ability or option to share memory between process? Or...
View ArticleNetwork Transform : Rotations only?
This sounds a bit odd: I got SpawnWithClientAuthority objects that are working pretty well. For some of these objects, I'm using the "Sync Transform" mode and I'd like them to only sync the rotation....
View Article[Solved] Problem with MatchMaker and projectid
Hi, So, yesterday i've create a new game project, and create a projectid with the cloud service, and run the game was fine. Today without any change I'll try to run the game (without any modification),...
View ArticleAnimator.SetTrigger/NetworkAnimator.SetTrigger Bug?
I'm a bit confused about the functionality and purpose between the Animator component and the NetworkAnimator. From my understanding since the debut of 5.0, the NetworkAnimator was simply responsible...
View ArticleHow can you tell if there exists a network connection of any kind ?
To be more specific, how can one be sure to use the methods of classes like Network (Connect, InitializeServer, etc ) when there is no LAN, Wifi or ethernet connection ? In this case (where no...
View ArticleOh my, why so complicated
Two weeks ago there was the global game jam and in the spirit of tackling something challenging I decided to include Unity multiplayer into our small game. Long story short: after around a day I gave...
View Article[Fixed]Spawn Ignoring Assigned Transform Position
Hey, I have two players in my game, using a single prefab. I use a switch statement to keep track of which player is Player 1 and which one is Player 2. I then have two spawn points set in the game...
View ArticleUnderstanding NetworkReader:ReadByte out of range errors
I regularly have errors like this: Code (CSharp): IndexOutOfRangeException: NetworkReader:ReadByte out of range:NetBuf sz:8 pos:8 It happens when changing any line of code in a script, even though it's...
View ArticleUNet HLAPI C# Source
Now available on BitBucket under MIT/X11 license. https://bitbucket.org/Unity-Technologies/networking
View Articlewhich function to override
Hello Does anyone know which function i need to override to control the spawn behavior for the game player in network lobby manager. That is the game player not the lobby player. I want to be able to...
View Articlefailure to connect from android device to desktop issue + solution
Hi readers, I had some trouble last week going back to some of my old code (working November 2015; non-functioning now, March 2016.) which connected an android device (Recon Jet/Google Glass) client to...
View Articleno items spawning on client - Warning: not all old messages was acknowledged
hi when I connect to the server I get sometimes the message on Server "Warning: not all old messages was acknowledged" the client can not connect correctly ins this case it is called on client -->...
View ArticleMultiple player prefabs
Hi guys I am working on a multiplayer beach volleyball game that involves 2 players in each team. Therefore I need more than one instances of my player prefab to be spawned on each side. I suppose Unet...
View ArticleDetermine which client a [Command] is coming from?
Is there any easy way to tell from server side which client a command came from? Basically I'm making a game wherein objects are moved around, I only want player A to be able to move around player A's...
View ArticleQuestions about basics in networking.
Hi all. I have some questions that i need answered before i can even begin, so if anyone can help that would be great. All questions are about a direct socket connection. 1. What is a good packet size...
View ArticleSync Rotation script, strange behavior
This script somewhat works but when i rotate my 2D prefab it is "shaking" (looks like that) on the receiving player during the actual rotation and then when i have finished the rotation on the main the...
View ArticlePhoton unity , gameObject name
Hello, how can I recive name of "mine" photon gameObject, in C# script?
View ArticleLan Client(C) does not work for remote client
Just do not understand why if I am launching my game and i press "LAN Host(H)" on the laptop "LAN Client(C)" does not work but the opposite works?
View Article