Clients does not discover a hosts network broadcast messages.
- Check if the Client and the Host on the same LAN.
- Check if the Client and the Host's firewalls are open.
- If the Client runs from a mobile device, check that is has the necessary permission to allow receiving/sending broadcast messages on the network.
How can I see what is being communicated?
Add the preprocessor
AWSIM_NETWORK_DEBUG to Project Settings -> Player -> Scripting Define Symbols.
How can I trace what exactly is being send over the wire?
- Add the preprocessor
AWSIM_NETWORK_TRACEto Project Settings -> Player -> Scripting Define Symbols. This will print debug messages in the Unity console for example
< byte:5(byte value of was send) or
> byte:5(byte value of 5 was received) or
! byte(byte was skipped)
- Alternatively use a third party tool like Wireshark.
What are the default network ports?