Search Issue Tracker
Fixed in 5.4.4
Votes
0
Found in
5.4.3f1
Issue ID
853316
Regression
Yes
UNET isLocalPlayer is always false in OnDestroy
When client closes connection, its isLocalPlayer parameter in OnDestroy method is reset to false.
1. Open attached project ("UnetIsLocalPlayer.zip")
2. Open "scene" scene
3. Hit play
4. Click LAN Host button
5. Click Stop (X) button
Expected result:
"NetworkBehaviour.isLocalPlayer" parameter of local player equals TRUE in OnDestroy method
Actual result:
"NetworkBehaviour.isLocalPlayer" parameter of local player equals FALSE in OnDestroy method (visible in Console output)
Reproduced on: 5.4.1p1, 5.4.3f1, 5.4.3p1, 5.5.0f1, 5.6.0a3
Not reproduced: 5.2.5f1, 5.3.0f4, 5.4.1f1
Regression introduced: 5.4.1p1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][Mobile Notifications] The Player freezes or crashes when calling "AndroidNotificationCenter.GetNotificationChannel" every frame
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
Add comment