New NetworkDiscovery Error? : topology is not defined
When I call NetworkDiscovery.StartAsServer() or NetworkDiscovery.StartAsClient(), I get this error: Code (csharp): Â NullReferenceException: topology is not defined...
View Articleafter client disconnect, server fails with "Attempt to send to not connected...
Server sends a lot of update info every frame using sendByChannelToAll using Channels.DefaultUnreliable. This functions splendidly, save that when a client disconnects, very frequently (not invariably)...
View ArticlePSA: After destroying NetworkManager while NetworkClient is active, can't...
I tried calling on NetworkManager.StopHost() and NetworkManager.StopClient() after switching scenes, but the game would not stop saying NetworkClient is active. When loading a scene where it calls upon...
View ArticleNetworkMessage from UNET WebGL client crashes server (even in editor)
I have two separate projects (UNET client & UNET server). When I run the client from editor, there are no issues. However when I deploy to WebGL a particular NetworkMessage, which works without...
View ArticleUNet Sample Projects
Attached to this post are some sample projects for the new networking system. These projects all use the High Level networking API. Warning, these contain programmer art and are not pretty at all....
View ArticleHosting unity game servers for a multiplayer game
I've been making a multiplayer game for a while now with Unity's Multiplayer networking layer. I am playing around with the idea to make it an online game and for that it would have to be WebGL. I...
View ArticleHow to create a base class for messages
Hello, I'm creating a network based logic UNet HLAPI. I'm created a base message class that derives from MessageBase, which contains the object ID to which the communication is directed. All other...
View ArticleLoading UMA string data from server using UNET.
I am trying to load UMA string data from the server and send it out to the clients to load up. I have saving the file to the server working, and loading the client side character works fine. But the...
View ArticleBadumna multiplayer. knowing thy peer
our project uses badunma which is an open source p2p c# framework for unity https://bitbucket.org/badumna/badumna/overview currently we are using the badunma scene for our open world replication. The...
View ArticleServer vs Client custom build process?
My project has a dedicated server running and clients who connect on a local network. I want the unity server to automatically start, when the .exe runs, and all clients should just automatically join...
View ArticleHas anyone successfully grabbed Mac Address in Android before?
My client requests it, but google searches come up with not-so-useful content. Here's what I've tried: Code (CSharp): Â Â string ReturnMacAddress() Â Â { Â Â Â string macAddr = ""; Â Â Â if...
View ArticleHow to implement character selection menu in photon
Hi, I developed a little multiplayer game which work fines in local. I try to go "Online" with photon free. I am stuck on how to implement a character selection menu like this : View attachment 167287...
View ArticleIs this a viable way to create a multiplayer game?
I made a database in SQL Server with a table Player that has some fields Area, XCoord, YCoord, and Action. I want the client to show all of the players online on the screen if they are in the same...
View ArticleI just bought Photon Plus and I get this?
You seem to use pun+. Pun+ only uses reliable UDP so the protocol is locked. Should I be worried?
View ArticleDoes Unity Networking have something like IOS GameCentre?
I'm learning how to use Unity Networking and have completed the tutorials running in Editor and on a PC targeted app and follow this. I wish to create a network mobile app that would allow for two+...
View Articlelinking unity servers, possible?
Is there a way I can link my unity servers up with strangers? Have 'portals' people can walk /click through to travel to someone else's server? What would be cool is if you could queue up a portal so...
View ArticleClient Error: Failed to spawn server object
HLAPI, C# When a client connects to the server, the server spawns the gameObject... at the client however i get a " Failed to spawn server object, assetId=532ba720a948274498667f4619a439 netId=1...
View ArticleCreating a match through UNET Match maker on WSA causes AccessViolationException
To recreate, you can either create your own project (steps below) or clone this gitrepo: https://bitbucket.org/janne_rasanen/matchmakerwsa/src Steps to recreate in Unity: 1. Create empty gameobject,...
View ArticleHow to set individual playerPrefab form client in the NetworkManger?
Hello, i am trying to set the playerPrefab from a client before the NetworkManager is spawning it. In this way the client has the possibility to change the playerPrefab before he is joining the game....
View ArticleNetwork Lobby Manager Spawn Selected Prefab for Client
Hi, I want make each client can select their player prefab in lobby and when game start i want instantiate selected prefab for client.I define varible in LobbyManager but its not working.Its always...
View Article