Getting players name from lobby into the game
Hello, I'm using UNET for my multiplayer game (Just started) While in the lobby, players can enter their name, then when the game starts I want everybody to see each others names. However I cant see a...
View ArticleWhere can I find the source code to NetworkManager, NetworkServer,...
So I thought that simply double clicking on the "script" in the editor would be enough, but it seems that it is linked to UnityEngine.Networking.dll instead of an actual .cs file. Are we stuck...
View ArticleClientScene::InternalAddPlayer: playerControllerId : 0
Hello, need some help completing this multiplayer setup. I got through all the other hurdles to this point where after calling `ClientScene.AddPlayer(conn,0); ` , it leads to a warning in the console...
View ArticleProblems with movement syncing
Hi all! I was following this tutorial for making a Multiplayer Game, but I have problems with the syncing, at 30:07 he has a perfect movement but I have a problem, when I spawn, the player...
View Articleunity unet and ui
Can anyone tell me how i can disable an ui button if i am a server and enable the ui button if i am a client? Thanks in advance.
View ArticleUnity Multiplayer Service Update - Release Notes July 9, 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 July 9, 2015 Improvements Unity...
View ArticleGuiLobbyManager / Multiplayer Lobby Asset
Hi, this asset was mentioned in a few places: http://docs.unity3d.com/Manual/UNetLobby.html http://docs.unity3d.com/Manual/UNetConverting.html I did find an example project using the package at...
View ArticleWhen is it "safe" to send my first client rpc/command
Hi, I've noticed a bit of an inconsistency when trying to set up my game. When I start a new game, I want the server to set the necessary parameters and then send a message to clients (including the...
View ArticleHow to get gameObject on click help?
I've looked up a few ways of handling this and this method seems to be the only one that could possibly send the gameObject to the user that they clickedBut it is not working) Ray ray; RaycastHit hit;...
View Article[need help]matchmaking
Hi All, I want to implement below scenario using new unet system i have two computer and two ipad I want to restrict the connection 1 computer to 1 ipad. is it possible to do so. Using matchmaking, i...
View ArticleHow to crate local multiplayer game?
Is it possible to create offline multiplayer Android games with Unity (played over bluetooth/ wi-fi)? If so, then I would like to create a 2 player game prototype, containing a single room (empty cube)...
View ArticleUnet for mobile?
Hello fellow devs, I apologize if this is a stupid question, but I cannot seem to come to a relevant conclusion on the matter by searching. I am about to develop a mobile real-time multiplayer game. I...
View ArticleTrouble with PhotonNetworking - Help Please?
Alright guys so I am new to Unity and still trying to learn. I am working on creating a very simple game in order to learn how Photon Networking works and how to make it multiplayer. I have followed a...
View ArticlePhoton Networking - Syncing Game Object Removal
I'm trying to make restraints disappear for everyone in the game at the same time. It works for 1 person but if another person join it waits the time and then disappears. I want them to disappear at...
View ArticleHow can server call function on just one client
Hello, Does anybody know the UNET equivalent of network.RPC("function", RPCMode.Owner,.....) I would like my SERVER to be able to call a function on just ONE of the clients, rather than all of them....
View ArticleCheat prevention
Hello everyone. I've gained some great progress on my multiplayer-FPS, but I'm to the stage i'm sure most people dread, preventing cheats and hacks. Currently, the player can not modify their health or...
View ArticlePhoton: Character selection?
Here is the GameManager script I've tried messing with. I manage to make it spawn in a different prefab but it's messed up in certain way. For example if i tried respawn as a different character it...
View ArticlePlayer Spawn Limit on one team.
I've manage to get two separate Prefabs spawning in two separate locations. I was wondering if anyone could help me with putting a limit on how many players can spawn on each "team"? Any help would be...
View ArticleError Handling in UNET
how can I get the error text and code in unity networking,? I did the following: 1- subscribe to the Handler : Client.RegisterHandler(MsgType.Error, OnError); 2- create the handler void...
View Article[UNET] Can I have a NetworkBehaviour under the NetworkIdentity instead of...
Hey guys, I currently have a typical player GameObject, with lots of MonoBehaviours. Some of these come from a prefab, which is being spawned in that player hierarchy. I want some of these to be...
View Article