custom NetworkServer.RegisterHandler overwrites standard Handler?
When I put this in one of my scripts, the Connect and Disconnect overwritten fuctions inside my custom NetworkManager are not getting called (eg. when a player disconnecteds, it's playerPrefab does not...
View ArticleConnecting 2 pc's to one game
This has probably been answered a million times before but is confusing to a beginner. I have followed the unity documentation's network tutorial and as far as I can tell it does not say how to connect...
View ArticleUNET: Spawning different player prefabs (SOLVED)
This is getting ridiculous, I've been searching nearly all day for something that shouldn't be this hard. I just want to have different player meshes join the same game, you know like most games... All...
View ArticleSyncList behaviour has been changed in 5.3.2p4
After latest update (738047) - Networking: SyncLists now only send updates when values change the behaviour of SyncList has been changed. Callback function is calling before internal buffer is updated...
View Article2 Teams Score NOT Working !
I'm making a multiplayer game and want to make a Score system for both teams , so if you kill an enemy your team's score adds one point and so on... all the methods i tried it either added one point...
View ArticleUnity 5.1 UNetWeaver errors.
Hi, I've just upgraded my project to Unity 5.1 and I'm getting the following errors: UNetWeaver error: Exception :System.ArgumentException: An element with the same key already exists in the...
View ArticleuNet networking help
I am pretty savvy now when it comes to singleplayer coding. I recently took up an interest in trying to convert my singleplayer Resident Evil clone to multiplayer. I read the docs, and tried to come up...
View Article5.2 sporadic SIGSEGV crash in linux headless builds
I'm experiencing a SIGSGV crash since updating to 5.2, which happens not all the time, but around 1 of 3 times when starting the build. I still have to build a smaller repro, but maybe somebody here...
View ArticleGetting an error: event has already in the list
I am receiving the following error in the development console: event has already in the list After receiving this error the application crashes. There doesn't seem to be anything useful in the output...
View ArticleNetwork Transform a custom controller rather than 'Character Controller'
So I wrote a custom controller script for my player and I am trying to implement the Network Transform component on the player. By default the Transform Sync Mode is set to 'Sync Transform', but I...
View ArticleObjects on Client are not moving
I run in UNET 2 exe Client and Server. On server it synchronized movement with client(Moves on Client and Server). On Client it doesn't moves onMoiseClick the object must move the object. I have...
View ArticleCan't connect to server on local host... err=6
I have 2 projects, server and client. The server works without problems, it loads and in debug it says it's running and message handlers are registered. also I've checked the work in background to true...
View ArticleHow to check Internet Connection like Clash of Clans
Hello guys. Here I have an game. And this is an online game. Now, I want to create "check internet connection". I want this game is connected to internet when I play this game. It is like Clash of...
View ArticleClearing doubts before starting with Gamesparks, Playfab, Photon
Hi, first of all I would like to tell you that I am new with multiplayer games. I have a few questions that I need to get answered before I can start with my game. My requirements are as follows:- I...
View ArticleUsing NetworkServerSimple with NetworkServer and AddExternalConnection
Hi Everyone So my situation is like this, the project should be usable both on mobile and WebGL at the same time so on the server my NetworkServer listens for UDP connections and I add a...
View ArticleCommands and ClientRPCs with pickupable items
I've got an object in my game that I'd only want one player to be able to pick up at a time, like a key. I have everything working how I want it to (I think), but just wanted to make sure I'm doing...
View ArticleNetworkMigrationManager.OnClientDisconnectedFromHost
Hi, Has anyone tried to use the NetworkMigrationManager yet? May I ask how to use "OnClientDisconnectedFromHost"? I don't know how to get this invoked when a host is disconnected. thanks
View ArticleSyncVar not working on Win10 UWA
I'm seeing major issues getting SyncVar to work when on Windows 10. All the code seems to work fine when run stand-alone and in the editor, but not when targeting UWA apps. The behavior I see is that...
View ArticleIssue About Synchronizing Physics Based Objects That Interact With Each Other
Hello there, I am very new to networking in Unity. I have watched the live trainings about networking and read some pages on the documentation. I have a simple physics based game with 2 players and 1...
View ArticleCan you nest a SyncListStruct in a SyncListStruct?
I've tried and things "kinda" work. They hold values and propagate over the network, but when I add a struct to the nested SyncListStruct I get an error that SyncList is not initialized. (But it is add...
View Article