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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.