Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

NetworkManager not spawning player prefab

Discussion in 'Multiplayer' started by Zachary136, Jul 14, 2018.

  1. Zachary136

    Zachary136

    Joined:
    Dec 1, 2012
    Posts:
    4
    I'm attempting to create a multiplayer match using the NetworkManager and match making. Using to built in NetworkManagerUI it works perfectly and creates the player prefab that I have setup in the NetworkManager. But when I use simply

    Code (CSharp):
    1.  
    2. manager.StartMatchMaker();
    3. manager.matchMaker.CreateMatch("m", 20, true, "", "", "", 0, 0, OnCreate);
    4.  
    It connects to match making server and creates a match but the player never spawns from the NetworkManager. I'm not sure if the network manager has a function I need to call to spawn the player but I do not want to really on the built In GUI to connect into a match.
     
  2. AeroGames-GamesForFree

    AeroGames-GamesForFree

    Joined:
    Jan 3, 2019
    Posts:
    3
    have you found any answer yet??