Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Reconnecting on scene change?

Discussion in 'Multiplayer' started by jbakerads, Dec 1, 2015.

  1. jbakerads

    jbakerads

    Joined:
    Nov 2, 2015
    Posts:
    11
    I have been bashing my head against the NetworkManager trying to customize its behavior for weeks. My current issue is that it seem like when a client changes a scene it reconnects to the server?!?!?! Does this seem correct or am i doing something odd. Iv pretty much overrode every function i can in NetworkManager. My workflow for login force me to not change scenes on connect, only after a special message is received. I send the message the client changes scenes and then proceeds to reconnect to the host, which tells it to change scenes again....it does this 8 times before stopping. Only 8... :-/
     
  2. jbakerads

    jbakerads

    Joined:
    Nov 2, 2015
    Posts:
    11
    Maybe its 7, basically i log the connection IDs as they come in and it hits 8 before stopping.