243 questions
1
vote
0
answers
71
views
Try to sync Lists between Clients and Client/Host
I'm using Unity and Netcode for Game Objects. I want to create my own Cardgame, so I want to have a synced Cardlist which is controlled over the Server/Host.
To get started, I wanted to synchronize a ...
0
votes
2
answers
982
views
Untiy Netcode For GameObject unable to connect to remote server
I am recently trying out the new unity networking solution which is netcode for gameobjects . In Unity using netcode for gameobjects i tried making a simple game which consist of a server and clients ...
0
votes
1
answer
49
views
Unity3d and Photon: Mouse controller script causing unintended behavior with multiplayer mouse inputs
I am relatively new to C# and PUN but I felt like giving it a shot. Unfortunately, I am currently having an error that I can't seem to fix no matter what I do! I am making a 3D top down game where the ...
0
votes
1
answer
581
views
Network Client use wrong input devices when using Unity.Netcode with Starter Asset Controller (New input system)
The server is always using Keyboard and Mouse just fine.
The client however always use "xbox controller" instead of Keyboard & Mouse:
The following is the inspector view as a client:
...
-2
votes
2
answers
2k
views
Is there any way to make a multiplayer game in unity completely free?
Hello so am wondering if there is any way to create a multiplayer game completely free, Like I followed Brackeys tutorials using UNet to create a multiplayer game, I followed the whole tutorials till ...
-1
votes
1
answer
151
views
uNet to Mirror Migration (2 errors)
I have two problems to solve. The first is
error CS0115: 'NetworkManagerSample.OnServerDisconnect(NetworkConnection)': no suitable method found to override And the second is The type or namespace name ...
1
vote
1
answer
2k
views
How would I spawn a different prefab for a local client and a remote client in Unity with MLAPI?
Sorry if this is a duplicate question.
I found this Reddit post which is exactly my current problem.
https://www.reddit.com/r/Unity2D/comments/lw96s5/multiplayer_cameras/
However, there's only one ...
1
vote
1
answer
1k
views
Unity Multiplayer MLAPI Could not get NetworkObject for the NetworkBehaviour
For my PlayerController script, I changed inheriting from MonoBehaviour to NetworkBehaviour
public class PlayerController : MonoBehaviour
{
From this, to this:
public class PlayerController : ...
1
vote
0
answers
723
views
Unity Mirror; Spawn different Player Prefabs
Hi I`m making a multiplayer car game using Mirror. Every Time Player one chooses his character everything works fine. When Player two chooses his character he gets only the same character like the ...
1
vote
1
answer
4k
views
Syncronize player position in unity (Mirror)
Goal: Syncronize player position in a multiplayer game in Unity that uses the Mirror Networking API
Problem:
Using the NetworkTransform component the position seems to not be precisely syncronized, ...
1
vote
2
answers
3k
views
MLAPI NetworkVariable not syncing on clients
I'm making an online multiplayer game with Unity and MLAPI. I wrote the script below and placed it in my scene, meaning each client and server should run it when a scene loads. The server is supposed ...
2
votes
1
answer
3k
views
Client disconnect when shooting in Unity (Mirror)
I am making an online multiplayer game in Unity with Mirror Networking.
In this script I am trying to shoot a bullet by calling, from the client, a command on the server ( CmdFire() ) that instantiate ...
0
votes
0
answers
1k
views
Scene management using unity MLAPI (Multiplayer)
I was reading up on the unity MLAPI and read in the documentation that basic scene management is offered. https://docs-multiplayer.unity3d.com/docs/mlapi-basics/scene-management. However as far as I ...
-1
votes
1
answer
667
views
How to use Unity MLAPI to do high frequency broadcasting?
My Unity project is using MLAPI framework(UNet Transport). I have a server and 3 clients. Server needs to send RPC message to all clients every frame. The data flow is about 2KB/frame for each client. ...
0
votes
1
answer
2k
views
Missing something important with ClientRpc (Unity Mirror)
I'm having an issue with ClientRpc never being called any client objects. I've trolled the internet for hours, but I can't find any clues as to why my implementation isn't working.
I'm following an ...