1,544 questions
-4
votes
0
answers
24
views
how do i get multiplayer to work other places places unity mirror [closed]
Hi I'm looking up how to use unity mirror but I have noticed that they all show local multiplayer but I want to be able to create a game where I can play with my friends that are in different ...
0
votes
1
answer
24
views
Unity photon pun client slower and cant jump
I'm developing a multiplayer game using Unity and Photon PUN. I've followed this tutorial series to set up player movement and networking. However, I've encountered an issue where the client ...
2
votes
0
answers
54
views
Unity receiving UDP packets does not work
I am trying to create an autorative game server that communicates with UDP (C#, running in VSCode), and a game client (Unity).
The game server sends and receives packets just fine (checked with ...
0
votes
0
answers
25
views
How to sync nested properties with PlayerSyncronizer
I've found a problem in my code.
I have the class Character , which has a property called characterState that is an type of "CharacterState", inside my characterState I have the property &...
1
vote
1
answer
41
views
How to determine the interacting player in an unreal world space widget
Main Problem
I try to make an multiplayer game where I want to interact with widget components in an actor that is set to world space that all users can interact with it. The game is in UI mode most ...
1
vote
0
answers
65
views
Join session in ue5 using cpp doesn't work
I'm trying to add multiplayer to game in ue5.5 and vs2022 v17.12.3 using c++ i can create and destroy session, but when i try to find session i get error to output log: "search result is zero&...
0
votes
0
answers
23
views
Unable to teleport both players when a trigger is entered by one player Unity Netcode for GameObjects
I am trying to make it so that when one of the two players in my multiplayer game interacts with the trigger on an object both players will be teleported to different locations in the scene based on ...
2
votes
2
answers
72
views
Phaser: Beginner and having issues syncing multiplayers into different scene
I'm building a multiplayer game using Phaser 3 and Socket.IO. I have two scenes: CommonScene and BridgeScene. Players can move around and see each other in CommonScene, and there's a zone that ...
1
vote
1
answer
97
views
Unreal Engine Replication of TArrays of Object type
My Goal is to replicate a TArray<UHealthComponent*> in a ListenServer configuration for 2 players
For more context the TArray is inside of an ActorComponent named ShipStats attached to the ...
1
vote
1
answer
36
views
Why does the rotation of my gameobject not syncronize between client and host?
I needed my bow to rotate towards my mouse, however even though I have attached a client network transform to it and allowed it to synchronize the z-axis rotation, it only works on the host (if I ...
0
votes
0
answers
56
views
Unity OnNetworkSpawn not called?
I created a GameObject with a NetworkObject component and attached a script to manage the state of a collider based on the server's status. The script is designed to enable the collider when the ...
0
votes
0
answers
20
views
Why is there no synchronization in Photon pun in unity?
I decided to add multiplayer to my game using photon pun, but for some reason not two players (that is, "computers") synchronize, but just the player synchronizes with himself, what could be ...
0
votes
1
answer
64
views
Unity Photon join room issue
i'm learning unity photon multiplayer and i need your help with,
Player 1 creates room and is sitting in room lobby, Player 2 starts game or is in main menu, enters join room scene, but cannot see any ...
1
vote
1
answer
50
views
Client can’t call RPC Server even with a valid NetOwner
This is the first Actor I built for Multiplayer with replication so if you think I should have used another technique tell me.
I'm running UE5.4 with two player and as net connection I use listen ...
-1
votes
1
answer
36
views
pygame multiplayer jsondecodeerror
I'm developing a two-player multiplayer game with pygame.
Here is the server code and client code:
<Server Code>
import json
import pygame # Main module for the game
import pyautogui # For ...