Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Resolved Spawning Players When Terrain Is Generated

Discussion in 'Netcode for GameObjects' started by cashoto13, Dec 1, 2023.

  1. cashoto13


    Dec 29, 2022
    So I'm making a multiplayer 2D sandbox, where everything is procedurally generated using perlin noise. When the game starts, I am trying to teleport the player to where I want them to spawn, however, because it is procedural, I can't figure out how to set a spawnpoint that would change everytime it is run.
  2. RikuTheFuffs-U


    Unity Technologies

    Feb 20, 2020
    You could make sure that, during the procedural generation, the spawn points are always in a place that the player could get into.
    It sounds like a game-specific problem, not something really netcode-related.