Search Unity

Profiling in mobile platforms without "Build and Run"

Discussion in 'Editor & General Support' started by AlvaroRuGa, Dec 13, 2018.

  1. AlvaroRuGa

    AlvaroRuGa

    Joined:
    Jan 18, 2018
    Posts:
    2
    Hello.

    My question is simple, is there a way of profiling an Android/iOS application whitout having to "Build and Run" the project? The project is built in a build machine, not in my computer, so I can't "Build and Run" it.

    Thanks in advance.
     
  2. alexeyzakharov

    alexeyzakharov

    Joined:
    Jul 2, 2014
    Posts:
    508
    Hi,

    Editor should always see running Development Player assuming Player and Editor runs in the same network.
    Usually you can't connect or see Player in the connection dropdown if:
    1) Networks are different (e.g. device on wifi and desktop on ethernet).
    2) Firewall is on.
    3) Port is occupied (54997).
    4) Another Editor is running in a network and stealing connection.
    5) Player is not Development.

    If you have "Autoconnect profiler" option set when you build the Player, then Player tries to connect to the Editor discovered in a subnet. Thus you can have Editor with ProfilerWindow opened and just launch app directly from the device to see the data in profiler.
     
  3. AlvaroRuGa

    AlvaroRuGa

    Joined:
    Jan 18, 2018
    Posts:
    2
    Ok, it's working now, thanks for the fast answer.
     
    alexeyzakharov likes this.