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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

NetworkObject.Despawn() does not destroy the object for users that are connecting.

Discussion in 'Netcode for GameObjects' started by TestifyNow, Nov 11, 2022.

  1. TestifyNow


    Feb 9, 2016
    The whole point of NetworkObject.Despawn() should be so that it destroys the object for all players. This should include players that have yet connected or are connecting to a lobby in progress. Doesn't make any sense otherwise, because as a developer you have to handle it yourself anyway, so you might as well not use despawn at all in it's current state.