Search Issue Tracker
Won't Fix
Votes
2
Found in
2017.2.0f3
Issue ID
962945
Regression
No
Data parameter of NetworkDiscovery.OnReceiveBroadcast method always has 512 characters length
To reproduce:
1. Download and open attached repro962945" project.
2. Go to build settings and remove "Client/LobbyControls/CtrlLobby" scene from build.
3. Build and run on standalone.
4. While the server is running on standalone player, go to editor and run "Client/LobbyControls/CtrlLobby" scene.
5. Check the console after the client has connected to the server.
Expected result: The length of data string from NetworkDiscovery.OnReceiveBroadcast() method is equal to the length of characters that string has.
Actual result: The length of data string is always 512. It should be 15 in this case.
Workaround: Use TrimEnd method to trim the string.
Reproduced with: 2018.1.0a2, 2017.3.0b7, 2017.2.0p1, 2017.1.2p2, 5.6.4p1.
Notes: Reproduced on Mac and Windows.
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
- “ArgumentOutOfRangeException“ error when selecting 'TMP_InputField' content using keyboard in WebGL build
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
Resolution Note:
Mass closure of UNET Bugs.
As UNet is Deprecated we are moving to low maintenance mode, where critical issues can get fixes.
Closing this bug as part of cleaning-up the Bug List.
If you feel this bug is really a road-blocker, you can reopen the bug and we will work this one.