Quantcast
Browsing all 16796 articles
Browse latest View live

FPSController : Enabling for network

I am fairly new to Unity and I have gone through a simple networking demo (new Unity framework), I have also played with the FPSController. I thought it would be fairly easy to enable networking on...

View Article


UDP Connection from Python possible?

Hi All I've setup a UDP socket/host on 127.0.0.1:8008 and written a small unity3d program that sends a message to the 'server' app. This works. However, I want to send UDP messages from my Python code...

View Article


Unet 2D raycasting

Hello, I'm trying to make a simple 2D multiplayer shooter game using Unet and right now I'm working on raycasting. Basically I'm trying to make it so that when the player is pressing "A" -key, raycast...

View Article

Basic LLAPI Implementation Examples

Hi All, Recently I start working with UNET and LLAPI and I made some basic examples of use. The code support Server/Client in the same Instance, also it supports Multithreading, but you still need to...

View Article

NetworkServer Spawn Question (Clients)

Hello, I have a situation where when the host creates room, I'm spawning an object using "NetworkServer.Spawn". However, when a client then joins the room, he is not getting that spawned game object....

View Article


Standalone server build

Standalone server build should be a different target like Android, iOS. When you build it now, it includes server side code to the client. it will cause security issue. there should be platform defines...

View Article

Master Server down ?

Hi all, We are using the deprecated Network system in our app, with the Unity Master Server and facilitator. The server seems to be down, I never get the host list (it is not working anymore since...

View Article

Accessing SQL Server in Unity - An existing connection was forcibly closed by...

This was originally posted in scripting, but no help was given, I thought maybe the people who look on the multiplayer networking section might be able to help more. Forgive me for double posting, I...

View Article


Who calculates collisions?

In a typical unet setup, using high level API, I understand the host calculates the physics and just sends transform updates to clients. So the server probably also does all collision detection? Sorry...

View Article


NetworkTransformChild "root must have NetworkTransform" error

I've got a GameObject with a NetworkIdentity, a NetworkTransform, and a NetworkTransformChild. That GameObject has a child GameObject, and when I try to assign the child object to the 'target' property...

View Article

NetworkServer.Disconnect graceful disconnection

Hi How disconnection is handled in uNet. In most socket and network libraries there are two ways to disconnect. One is forced and one happens after all current packets are sent to the...

View Article

hostId is -1 when starting as host in overridden NetworkManager

I'm trying to make a simple local Lobby that uses an overridden NetworkManager to start as a host: Code (CSharp): public void btn_StartAsHost() {     NetworkManagerOverride.singleton.StartHost(); }...

View Article

MMO Login Server Question

Hi, My background on MMO is that I have only played a few. Network programming skills are of a novice. I have implemented a basic Login Server where the Login Server listens for clients, if clients...

View Article


integrating node in unity

i guess it's possible to integrate node in unity, right? any feedback?

View Article

syncing without SyncVar - can't wrap my head around it

Hey there, I am trying to understand the way the HLAPI networking is functioning, but I am running into problems when I try to sync more complex data (think: two-dimensional array with game objects,...

View Article


Network Identity on non-network game disables player prefabs

I have a game that needs to run in standalone and multiplayer network modes. When the player prefab is instantiated in the standalone mode, the gameobject gets disabled (because it has the Network...

View Article

My First Multiplayer Project - Need some help

Ok, I have managed to get to separate copies of my project to connect through PUN using the following: Copy 1: PhotonNetwork.ConnectUsingSettings(); PhotonNetwork.CreateRoom(roomName); Copy2:...

View Article


[PhotonPUN]Bullet Collision Problem

Hello, I am working on a 2D multiplayer game. Right now i am trying to collide the bullet with the player but whatever i did, i couldn't reach the success with it. I have searched a lot but i couldn't...

View Article

NetworkServer SpawnObjects "Spawn scene object not found for X" error

Hello all. I have this problem when i'm using NetworkServer.SpawnObject(), the objects in scene have a NetworkIdentity and when the server host it uses this. The host can view all objects, and no...

View Article

Multiplayer online networking alternatives: UNet vs Bolt vs Photon (PUN) vs...

Hey Guys. Sorry if this question has been asked and answered before (please flick a link and i will shut up). Recently, i have been looking into creating a Multiplayer game. Specially since i heard...

View Article
Browsing all 16796 articles
Browse latest View live


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