Quantcast
Channel: Multiplayer
Browsing all 16796 articles
Browse latest View live
↧

Any reason isClient, hasAuthority etc are set after OnStartX?

Not the best title, I admit. Anyways, when spawning a new object with a NetworkBehaviour, you have a bunch of virtual methods you can override. OnStartServer, OnStartClient, OnStartAuthority. These are...

View Article


[EditorBrowsable] on SyncList and implications on build size

Hey, I saw that the SyncList type is decorated with the EditorBrowsable attribute: View attachment 142574 I wonder if that has any implications with regard to code build size or for code stripping....

View Article


We need a Custom Network HUD / Game Lobby Tutorial with UNet!

I have spent many hours searching for a tutorial on creating a custom Game Lobby or Custom Network HUD with UNet. I have stripped down the NetworkHUD.cs script and have had much success with LAN...

View Article

Using one Client as the Primary Client in a Network Game

I want to write a multplayer (LAN and Matchmaker) Bingo game which I have done in the past with another game engine. I want to have the client that creates the actual game (either LAN or Matchmaking)...

View Article

NetworkServer.SpawnObjects() not working for child objects

I'm working on a multiplayer lobby menu. Each player selects a role from a checklist, and once a player has checked a box, it becomes grayed out (interactable = false) to the rest of the players. So...

View Article


Network.matches is Null

I'm trying to create a basic lobby using a custom network HUD. Everything works, except that whenever I try to use manager.matches, it is null. My manager is the stock NetworkManager component. I've...

View Article

doubts with unet pricing

Update: I've Just discovered photon Bolt and it looks like we are searching for, anyone Just tried out? Hello, my team and me were working on a multiplayer online game with UNET over 10 months and...

View Article

UNET assign spawned asset a player

I'm creating a simple RTS using UNET and would like to have the objects spawned by a client player and assigned somehow to the spawning player. This way I can control which client can control movement....

View Article


"Failed to spawn server object" client player prefabs not showing up.

From what I've read, to use a custom player object you simply need to override the OnServerAddPlayer() in your network manager. As long as [Auto Create Player ☑], most of the Object Creation Flow...

View Article


GetCurrentRTT() and room ping

Hi there, i'm using UNET's LLAPI MatchMaker and i would list the ping for each room i'm finding with NetworkMatch.ListMatches() Seems i have to look at GetCurrentRTT but i'm trying to understand how i...

View Article

Need help for a Coop mod

Hello, I watch the tutorial on Multiplayer Networking (unity learn) but i want to know if it possible to have the first player who can move and the second player who just can rotate. First player ->...

View Article

how to make a multiplayer game like agar.io

Hi, how to make a multiplayer game like agar.io?? I am just wondering about the multiplayer part, what do I need to learn about UNET to achieve something like it. thanks.

View Article

Matchmaking is not working?

I am trying to use UNet in my game, and I using Unity version 5.3.4f1. I had a problem about matchmaking is not working. Here's my process: Start the game and see the Network manager HUD. Select...

View Article


Why can't i get any better ping with LLAPI?

I can't get better ping then 25 with unity NetworkTransport, can some one tell me what is wrong? I connect to same pc using those settings: GlobalConfig gc = new GlobalConfig(); gc.ReactorModel =...

View Article

SyncVar Hook help

I am a bit confused and would like to ask for some help getting this piece of code to work. Here is what i try to accomplish: 1) I have a button that trigger: "OpenMenu" 2) "anim_Menu.SetBool ("isOut",...

View Article


Help Photon Cloud Join and Create Room

Hello everybody I have simple question i hope some people can help so !! What i need is : I want when the player run the game connecting to the server and firstly check if they are room with name for...

View Article

How to: Pass booleans through RPC

First of all, yes, I know that RPC's are outdated but personally I like the legacy system more. So I found a way to pass booleans through RPC easily (without int or other). in JS you would do something...

View Article


Thank you!

For finally fixing the annoying CCU issue, seem like it has worked flawlessly now for the last few days here. Really makes by days a lot brighter ; )

View Article

Random disconnections while simulating packet loss

I've been simulating small amounts of packet loss (around 2%) and the client has been getting disconnected every time. I have the Disconnect timeout set to 10 seconds, and the ping timeout set to 5...

View Article

Photon Unity Networking Help needed

Hey I need some help I am developing a board game where when a dice is rolled a number is shown then we have to make move according to that number now my problem is this I want this game to be...

View Article
Browsing all 16796 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>