Time to upgrade to uNet?
I'm currently using the old networking and am gearing up to upgrade to uNet. However I had some questions before I proceed. Right now I have a master server that I compiled in visual studio, a unity...
View ArticlePhoton masterClient only send data and won't receive?
Hi, I'm trying to sync a vector between players by sending from each player his unique index and unique vector[index] value Code (CSharp): public int[] Bets; int BetIndex; int RecivedBetIndex;...
View ArticleSend By Channel ?
Hello, I have several channels configured and I need the server to send a message to a specific client using a specific channel. So I'm using NetworkServer to send messages using the SendToAll and...
View ArticleSyncListInt.Callback for OP_Set Does Not Have Access to New Value
I have a SyncListInt and when I set a value (not add/remove, but set) the callback is successfully called before the value change (I believe Unity has stated this is intended to give flexibility and...
View Articleissue with Enable/Disable network spawned prefabs
To reduce the cost of instantiating prefabs on the server I created a pool of objects(bullets in this case). Then I just pull one that is disabled and call networkserver.spawn(). I enable the object...
View ArticleMatchmaking without Unity server
Hopefully this is quite an easy one for you network gurus and I've just been incredibly blind, ignorant, stupid, or a combination of the three. I have a multiplayer game (duh) which I can connect using...
View Article[Solved] Trouble with ClientScene.ConnectLocalServer()
Hi, I'm trying to build my own NetworkManager, and to do this I've been looking at the source through ILSpy, but I've been having trouble with ClientScene.ConnectLocalServer() and I can't find many...
View ArticleUnity Multiplayer Service Update - Release Notes August 12, 2015
We’re happy to announce the Unity Multiplayer Service was updated today for code related to MatchMaker and Relay. Unity Multiplayer Service Update - Release Notes August 12, 2015 Improvements Improved...
View Article93% CPU in NetworkIdentity.UNetStaticUpdate (LogStringToConsole)
With the Unity 5.1.1f1 Editor Profiler, my game is seeing very high CPU utilization from string logging in NetworkIdentity.UNetStaticUpdate, even though I have our NetworkManager log level set to Fatal...
View ArticleHLAPI and WebGL?
I was wondering if someone knows when HLAPI will be supported in WebGL? I can't find anything on the roadmap
View ArticleMultiple players
Hey, I'm playing with a game that has a spaceship and two players operating as the crew. I have the player positions syncing properly, but I'm a little confused on how to properly sync the spaceship....
View Article[Solved] How to do match making?
First off, yes I am referencing the manual: http://docs.unity3d.com/Manual/UNetMatchMaker.html One of the errors I got directed me to https://multiplayer.unity3d.com. So I went here, I signed in, and I...
View ArticleHow do I synchronize GameObjects or Components?
For example in World of Warcraft you can target a player and everyone can see who you are targeting. I could write something like this Code (CSharp): Player targetPlayer; //or GameObject...
View ArticleMOBA free assets in Unity store
hello guys , what are the Unity assets which can be used to make a MOBA prototype ? which ones you guys suggest ? and what type of networking solution is best for MOBA ? Photon , forge , Bolt and etc...
View ArticleTracking multiple scores over Unet?
Okay so what I need to do is have 2 sets of scores. First one is the player score and the Second is the Server score. When a player puts a coin inside a goal their points go up by 1 and the server...
View ArticleUnity Unet Spawning from client
I scripted this code in c#: Code (CSharp): using UnityEngine; using System.Collections; using UnityEngine.Networking; class EnemySpawnClient : NetworkBehaviour{ public GameObject TankPref;...
View ArticleSending messages larger than 64KB
Hello, I'm currently working on a procedurally generated game, and when someone connects to a server, the server sends him region files that can get up to sizes of 200KB. The max size of a file in...
View ArticleReturn to Lobby for Testing in Editor
So I had a problem and wanted to share my solution. Problem is that when you are working on a play scene (which is most the time) and want to test it in the editor with the actual networking running...
View ArticleCommand - RPC - isLocalPlayer help
I have a few questions. I am using the Lan Host lobby GUI supplied by unity. I have a simple game which I am trying to set up as a turn based system. I am having some issues and it is hard to ask the...
View ArticleFailure Generating Network Code [SOLVED]
I have been working on switching over to UNET from the legacy networking system for a while and everything was going smoothly until yesterday the compiler stopped working giving me the following error:...
View Article