Search Issue Tracker
Fixed
Votes
2
Found in
Issue ID
733715
Regression
No
NetworkDiscovery object doesnt stop broadcast when destroyed.
The UNet HLAPI NetworkDiscovery object does not automatically stop broadcasting when destroyed. So if it is destroyed by a scene change while it is broadcasting, the transport layer is stuck in broadcast mode.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "SupportsRandomWriteOnRenderTextureFormat()" shows "False" when executed on 2023.2 and 6000.0 streams
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
_Adriaan
Oct 07, 2015 09:40
I think the problem here is that if the object is destroyed right after StopBroadcast is called, the NetwordDiscovery.Update() is still in a while loop while it's variables are de-initialised. So... the problem here is that that while loop needs a check for that.