33.0.0 (2021-03-10)
Bug Fixes
- NetworkIdentity.isLocalPlayer is only set, but never reset. fixes a bug where isLocalPlayer would be false in OnDestroy, so some components couldn't rely on it in OnDestroy. fixes #2615 (this is also faster than comparing ClientScene.localPlayer each time) (#2616) (a6f6f80)
- NetworkIdentity.isServer is only set, but never reset. fixes a bug where isServer would be false in OnDestroy, so some components couldn't rely on it in OnDestroy. fixes #2533 (ee1f941)
- NetworkIdentity.Reset resets isLocalPlayer AFTER the isLocalPlayer ClearLocalPlayer check. fixes a runtime UnSpawn test. (accf843)
Features
- Added bool to Discovery to disable automatic active discovery (#2580) (921a7a2)
- NetworkClient.isConnecting added (159a35d)
- NetworkManager.OnServerAddPlayer instantiates with name "Player [connId=42]" instead of "Player (clone)" for easier debugging (4962cee)
Performance Improvements
- batching is now enabled by default (665b1c2)