So basically i have a join and create session blueprint script. For some reason when i get player 1 to click play it joins the session and creates it for other players to join. When player 2 presses play it will run the code of join session but will always go into its own session and not player 1’s session? Im really stuck and would like to figure out why?
I don’t know but there are two things to fix first:
You’re looping over all the found sessions and trying to join ALL of them. You should probably only join one (use foreachloop with break maybe).
After that loop is done, I see you trying to Create ANOTHER session right after you joined one already. I’m not sure but I think that you can’t be in two different sessions at once and I think maybe you can’t stay in a session you joined if the joining client creates yet another one and thereby becomes the host of its own thing instead of being in the world of the host it joined previously.
If this works for you, please accept the answer If there are still problems, can you add more detail as to what isn’t working and how your blueprints are setup?