#Dedicated Server

1 messages · Page 1 of 1 (latest)

vagrant atlas
#

Hi!!!

i just want to ask a question related to multiplayer game, at first i created the game using the photon host-client mode where one player is the host and the others are client, as long as the host is inside the room the room goes on when the host leaves the room is destroyed there are multiple rooms, having different hosts and all that

but now i want to work in such a way that there is a dedicated server that does the work of the host , so that the room is not destroyed until unless all the players have left, even if the host(now supposedly room owner) leaves the room the room still continues even if the host joins again he joins at the position where it left, so does this dedicated server(supposedly from a hosting service provider like Hetzner) works with the photon, or do i have to change the whole methodology of my work?

plain sparrow
manic steeple
#

If that covers your case, depends a bit on what exactly you need but maybe this is an option.

#

Dedicated servers are not free to run, so it makes sense to know the alternatives.

vagrant atlas
# manic steeple If that covers your case, depends a bit on what exactly you need but maybe this ...

its like as long as someone is in in the room, the option to join again is available, if no one is in the room then session will be timed out after like 1-2 mins, i can understand the unity side but confused with the dedicated server integration yk, for now i understand that if supposedly the server is Linux based, i need to upload the headless build there, am i correct?? Also that headless build that i would upload to the server would only contain the multiplayer scene or do i have to upload every scene(as there is also singleplayer yk)?

plain sparrow
vagrant atlas
#

@plain sparrow apologies for tagging you at first, but did you ever face a issue where you cant get network object prefab Id

plain sparrow
vagrant atlas
#

ot can detect the prefab in the fusion prefab table, other than that on run time i can see the prefabs being referenced

#

it even gets the name

#

but when i am about to spawn it, it messes up

#

just right at the runner.spawn or runner.SpawnAsync

plain sparrow
#

Oh you are using Photon, I'm not too familiar with that

vagrant atlas
vagrant atlas
#

the orchestrator prefab is not being spawned

plain sparrow