Hi everyone, I’m making a volleyball game and everything started working well so I wanted to activate online to test out a bunch of things.
The issue is despite watching the same few tutorials for online on youtube dozens of times, I just can’t make it work (https://youtube.com/playlist?list=PL3YlZTdKiS88Ev-GcSehCxFr1nw80rjqY&si=kx6iufT4hcikuo72 https://youtu.be/AT84UgoFxA4?si=aoq4O3L7muO5gynN). I tried the method where you create multiple copies of the player object and change an instance variable to 1 2 3 and 4 so you can assign the objets to the corresponding players but it couldn’t work. I tried the method with spawn points creating a player object and deleting the spawn point for every player in the lobby but it didn’t work, I tried adding if object is owned by player a bit everywhere but still doesn’t work. Like I really tried a lot of things and what I realized is that I just can’t assign any object to player 2. For me the issue is either that : for some reason the commands are executed too fast for other players to join so their characters are deleted, or I need a second account or device or something like that to actually make multiplayer work ? Like at this point I’m lost I don’t get it, my player 2 has default camera and no character to control, for some reason the player cosmetic doesn’t spawn for player one, I need help please cause I’m stuck on what’s supposed to be the easiest part of configurating online, and I really feel like it shouldn’t be an issue. Ask for screenshots and I’ll share. Thank you.
Can you screen shot the events around connecting, assigning player ids and allocating an object to a player? It’s impossible to properly help otherwise.
Yeah sorry I realize my code is in french so no one can help me here, but I can’t really send anything cause I keep changing methods everytime and I’m completely sure that the issue is I can’t assign ownership to anyone else than the host for some reason. I’ll keep trying.