How to handle lag ? (Speed game)
Hi, I have made a game where you can fire spell (one every 3 secondes for example). I check on client side if the spell touch, the issue is: There is 2 players, A and B Imagine player_A lag, so the...
View ArticleReturn local or public ip in Unet?
To access your ip it used to be so simple as to use the Network class for any of your local networking information, i.e.: Code (CSharp): Network.player.ipAddress I can't believe it used to be so easy...
View ArticleNetwork does not exist in namespace UnityEngine - Cannot build for Windows...
I have been just fine testing and building this game for Windows and Mac but when I try and build for Windows Store Universal 8.1 I have a couple of errors, all the same: error CS0103: The name...
View ArticleTrivia Multiplayer
Hi community, I made trivia game with multiplayer mode using google play real time multiplayer services. But I'm concidering switching over to Unet because right now only users with google+ account can...
View ArticleHow to synchronize rotations over OnSerialize() and Commands
Hello, I am trying to sync my character bone rotations over the network. So for that I've wrote my own OnSerialize() an on OnDeserialize() function to sync the rotation list syncTransforms. Code...
View ArticleSpawn Prefab with NetworkBehaviour on Children
When I spawn a prefab that has a NetworkBehaviour, it works great, but none of the NetworkBehaviours on its children are spawned with it. The children exist in the scene on both server and client, but...
View ArticleUnity Networking & Steam - When will it be supported?
Hi, At Unite 2015, the talk from Super Dungeon Bros (source) they state that Unity Networking doesn't support Steam. We were wondering what they mean by it not being supported, whether in regards to...
View ArticleUsing the Matchmaker System without relay server
Hello, in ref to my other thread: http://forum.unity3d.com/threads/unet-timeouts.343395/ I want to use the Matchmakting system of unity without a relay server (because the 4 kb/s limit), like the old...
View ArticleHow can a client spawn a prefab with isLocalPlayer
I want a client to make the server spawn an object. So far so good. But I want that object to have isLocalPlayer set to true on the client. How can I do that?
View Article[PUN] AI owner in game using voxel terrain.
Hello, I'm making multiplayer game with voxel terrain, and I'm decided to add AI to it, but problem is that voxel chunks are optimized and master client doesn't have same chunks as player which AI...
View ArticleSending Android gyroscope data to Unity (Win) through LAN / Bluetooth
Pretty much what the title says, does anyone know how can i send the data from an Android to Unity in real time? Im not sure whether it would be better to use LAN or Bluetooth, nor how to send it. I...
View ArticlePhoton Unity Networking
Photon Unity Networking Get it. No server setup needed - runs in the Photon Cloud. No obligation due to free plan. Download from the Asset Store: http://u3d.as/2ey Overview This package implements...
View ArticleBeginGetRequestStream alternative?
Hi! I am having some unsolvable problems, when using BeginGetRequestStream for my asynch http requests. Is there any alternative, might be paid asset, which I could use for all asynch stuff instead of...
View ArticleHow to get player names sync?
Hello! I'm trying to make a multiplayer game, and have stumbled upon a problem I just can't solve.. I have a player input his name in main menu scene, then that name gets saved to PlayerPrefs and...
View ArticleServer not calling when a Client connects
Is there a better way to tell my server to start sending data to a client that has just connected to it? I am using matchmaking. I have tried: Code (CSharp): void OnPlayerConnected (NetworkPlayer...
View ArticleError : Command function CmdactualiserNumberServer called on server
Hi, I have some issue with networking, especially with Remote Procedure Calls, I simply want to call Command function and ClientRpc function but I have strange error. When player connect to the server,...
View ArticleGet Latency and Ping players
Hi guys, I'm having a little bit of a struggle moving over to UNET from the legacy networking solution here In the legacy Unity networking I was able to tell the latency in seconds of each RPC call...
View ArticleFholm's Unity Multiplayer Example
Is there anyone who still has @fholm's unity multiplayer example on his hdd? I don't mind paying for it. Feel free to pm me.
View ArticlePhoton Team select and spawn help
Hi! I need some help. I am trying to create a basic multiplayer game with 2 teams, they select the team via UI buttons which then activate my network object (contains join / instantiate scripts). I can...
View ArticleChanging MATERIAL not working, player is pink?
Okay, I asked a while ago how to update player names, and now I'm trying to make a skin system, but for some reason changing the material doesn't work, it doesn't assign a material to mesh renderer,...
View Article