How to find other device without input ip address

Options
How can one Android/iOS device automatically find other device without input ip address in the local network ?

The article EnableLanBroadcast & Example doesn't help me.

Comments

  • stanchion
    Options
    What is the problem with the doc?
  • kiriyo
    Options
    stanchion said:

    What is the problem with the doc?

    Have you tried that sample ?
    I added all three scripts to the project. Add permission to AndroidManifest.xml. And built to the devices.
    When I hit "Start LAN Game" there is an error:
    System.Collections.Generic.Dictionary`2[System.String,System.Int32].get_Item (System.String key) BoltInternal.BoltScenes_Internal.GetSceneIndex (System.String name) BoltLauncher.GetSceneIndex (System.String name) BoltNetwork.LoadScene (System.String scene, IProtocolToken token) UnityEngine.Debug:LogException(Exception) BoltLog:Exception(Exception) BoltNetwork:LoadScene(String, IProtocolToken) BoltNetwork:LoadScene(String) MenuLan:StartServer(Int32, String) MenuLan:OnGUI()

    Also Bolt.GlobalEventListener has no BoltStarted callback.
    http://doc-api.photonengine.com/en/bolt/current/class_bolt_internal_1_1_global_event_listener_base.html

    Can anyone provide sample unity project ?