UNet inventory?
Hey guys! I am creating a multiplayer game using the new unity networking. I have never even attempted to programan inventory system. Anyone have a good inventory system that I can use for my UNet...
View ArticleHow can i get the Port after called Method "NetworkTransport.AddHost"
I want the socket port chosen by OS, not by my define. My code: socketId = NetworkTransport.AddHost (ht); How can i get the Port chosen by OS? THX Ref: Parameters port - Bind to specific port, if 0 is...
View ArticleAndroid Multiplayer Game without Internet?
yoh! I wanna make an android multiplayer game that doesn't need internet connection to play with another device. can i do it with just the unity networking that can be added to an empty object,...
View ArticleHow to make a lobby or waiting room?
Hi, 1) In all uNet examples that I've seen so far, people can drop in and out mid game but in my game people should all be in a lobby or a waiting room and when there is enough people there, it should...
View ArticleAndroid Multiplayer Game without Internet?
can i make an android multiplayer game without the need of internet using wifi router or something? or even the device' hotspot? what do i needed? can i do it with just the unity networking? those with...
View ArticleCollection of Multiplayer samples
This is a collection of links to samples that have been posted in this forum. Some are scripts and some are entire sample projects. http://forum.unity3d.com/threads/unet-sample-projects.331978/...
View ArticleIdeal Infrastructure for RPG Multiplayer Game with persistent Player Data and...
Hey everyone, I am working on a multiplayer coop FPS action RPG game (PvE only) featuring player level increases, random item drops and persistent player data storage. I seek for help and advice in...
View ArticleMatchmaking just stopped working!
So I had matchmaking all set up in my custom UI, but now it won't connect. I just get the following logs: System.FormatException: FAILURE Returned from server: failed GetNetworkDB for appId=415901 at...
View ArticlePhoton Serialization - Ball Flickers!
Hallo, I was able to send postion and rotation of a billiard ball to a second player, but the ball on the other players side, who receives the data, flickers! Like it goes to the origin position and...
View ArticleWhat are uNet's advantages over Photon?
Hi, Lack of documentation and proper examples is driving me nuts. I know network code is hard but I don't believe it should be this hard. I'm trying to add real time multiplayer to my game and every...
View ArticleNon P2P mobile multiplayer on port 80
Hey, We're developing a mobile game which has real-time (but not very frequent) multiplayer interactions, required to work on port 80 (to bypass firewalls). I was wondering what would be a good...
View ArticleChange Scene on llapi without NetworkManager (SOLVED)
Hi, im using unet without HLAPI. I use NetworkClient and NetworkServer, to initialize a server and connect to the server. I saw in the NetworkManager API, that there is a Function ServerChangeScene();...
View ArticleWhere is Network Stats?
In the new Unity Network in 5.1 (New system is amazing), when I opened Stats panel (button on the top-right corner of the Game window) it is always said Network: (no players connected). Even when...
View ArticleSyncing references to game objects?
I'm making a multiplayer RPG, and I'm currently working on the inventory system. The problem I'm having is that I am storing inventory contents in a GameObject[] array, and can't work out how to...
View Article[SOLVED] How to allocate netID? And how to find object using netID?
New multiplayer in 5.1 is just amazing! But... Where is analog of Netwok.AllocateViewID and NetworkView.Find? I very hope Unity developers didn't remove the ability to allocate and set an ID manualy....
View ArticleBullet offset problem
Hi, I spawn my bullets on client and server and it works. Problem is, bullet's initial position is off. Almost like it missed one update call. I don't have Network Transform on my bullets (Because they...
View ArticleUnsupported enum type 'UnityEngine.Networking.Types.NetworkID'
Every time I use the NetworkID enum type in any C# script (namespace UnityEngine.Networking.Types), my console is flooded with the following error: Unsupported enum type...
View ArticlePlayer Child Objects Not Spawned
When an in-game player with child objects is spawned, the child objects do not appear to have their NetworkIdentity registered. Is there a way to do this without spawning each child object and...
View ArticleSync Rigidbody2D doesnt work
Hi, i have a trouble with "bullets" in my game. I cant see the other player bullets in my screen and viceversa. Here is my bullet prefab: My NetworkManager with the "bullet" registred: The code: Code...
View ArticleSyncvar Hook - How to update a new client?
I'm still trying to understand server/client interaction. The documentation often leaves me with more questions than answers. This is a 2d top down game where the client players are just pannable...
View Article