Search Issue Tracker
Fixed in 5.4.2
Votes
7
Found in
5.3.3f1
Issue ID
784913
Regression
No
[OnServerConnect]Function is called twice
Steps to reproduce:
1. Open attached project ("case_784913-Pickin__Sticks_Coop(1)").
2. Open scene named "MainMenu".
3. Make sure that "Network Lobby Manager" has a component named "NetworkManagerCustom".
4. Press play button in the Editor.
5. Press "Host Match" button in the "Game" window.
6. In "Console" window notice that some messages about client are being debugged twice.
Expected result:
Function OnServerConnect() should be called on the server once, but not twice when a new client connects.
Reproduced with:
5.4.0b13, 5.3.4p2, 5.3.4f1, 5.3.3f1, 5.2.4f1.
With 5.1.0f3 I got error mesage "refCount == 0" twice.
Comments (3)
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
- [Remote Config] PreparePayloadWithConfigType function is looking for camelCase property names, when the JSON objects are using PascalCase naming
- UI Builder Viewport's Tool Gizmo has deadzones
- SpriteShapes are rendered using multiple draw calls when the SRP Batcher determines their nodes are incompatible in a specific project
- UI Toolkit Debugger "Pick Element" selects Scene view panel when trying to select a world space UI element in the Scene view
- MSAA warnings are thrown when custom post-processing is used and the Scene contains transparent GameObjects
Wriggler
Aug 17, 2016 10:47
This is still an issue in 5.4.0f3. It doesn't appear to be fixed, both for OnServerConnect() and OnLobbyServerConnect().
Pypsik1
Jul 21, 2016 12:09
Nice, they closed this topic, yet problem remains. I'm using 5.4.0f1 and OnServerConnect() still called twice.
sjtgamez
Jun 20, 2016 16:35
My god, I was going crazy. I didn't know why that function was being called twice out of nowhere.
I hope this bug gets fixed soon, otherwise I'll have to look another way to make my code work.