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
- Scene view audio toggle doesn't work after disabling and enabling audio source component with audio random container
- Pitch changes while paused messes up scheduling of the audio random container
- Crash on detail::ComputeShaderSnippetKey when entering the Play mode
- Unable to interact with Material Inspector window when creating a new Material and renaming it
- Shadow artifact is cast onto GameObjects in the Scene view when the Scene view lighting is disabled
_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.