Host can only see client synchronized if the client runs in debug mode
Asked Answered
E

2

0

So I got quite the weird behavior here, just started learning about networking stuff btw. The title explains it all, the host can only see the client correctly synchronized if the client runs in debug mode, otherwise he'll just be stuck in the spawn location.

The project file https://cdn.discordapp.com/attachments/1087976041747849238/1162709247323295754/gametest.zip?ex=653cec5e&is=652a775e&hm=515f8141d90e2fbe23ad589dcf58969a013a4b296a88ce6b6dfd437c432f1f87&

Essay answered 14/10, 2023 at 11:14 Comment(0)
E
0

What I mean with debug mode is running through the debug executable when exporting btw

Essay answered 14/10, 2023 at 11:36 Comment(0)
E
0

Okay... it seems that the way is to let the client spawn only himself, and the host will spawn not only himself but also all the clients. By checking if the ID is from the host I can spawn the clients only on his side.

Essay answered 14/10, 2023 at 12:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.