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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.