Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

how to use remote profiling (based on IP) ?

Discussion in 'Windows' started by tswalk, Aug 29, 2013.

  1. tswalk

    tswalk

    Joined:
    Jul 27, 2013
    Posts:
    1,109
    I seem to have managed to fail quite badly at figuring out how to remote profile my builds for windows store apps (ARM builds)...

    I have tried a few things which usally revolves around building my projec in Unity with 'auto connect profiler' selected, open project in Visual Studio and rebuild... remote machine / debug. go back into Unity, and attempt to connect the profiler (via IP).

    with this as the result:

    Failed to connect to player ip: 10.0.1.110
    UnityEditorInternal.ProfilerDriver:DirectIPConnect(String)
    UnityEditor.AttachProfilerUI:SelectProfilerClick(Object, String[], Int32)

    Is this feature not currently working, or is there something else I need to do?
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,693
  3. tswalk

    tswalk

    Joined:
    Jul 27, 2013
    Posts:
    1,109
    I tried those settings with no luck.. this device is the ARM based Surface RT. I have no issues with connecting the Visual Studio Analyzer, just no luck with Unity Profiler.

    At first I thought it could be a firewall related issue, so I made exceptions for not only the app, but also the ports for the Profiler.. no luck so far. I'll keep trying.
     
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,693
    Maybe your Surface RT and PC are connected to different subnets?
     
  5. tswalk

    tswalk

    Joined:
    Jul 27, 2013
    Posts:
    1,109
    they are... i have an extra access point i could setup on the workstation subnet and give that try...
     
  6. tswalk

    tswalk

    Joined:
    Jul 27, 2013
    Posts:
    1,109
    that did the trick, thanks Tomas!
     
  7. tswalk

    tswalk

    Joined:
    Jul 27, 2013
    Posts:
    1,109
    any ideas you may have in guiding me to find the Tegra 3 (developer) drivers for this W8 Surface RT (ARM) so I can profile the GPU would be awesome :)

    (I signed up for the Tegra developer program and have the Nsight tools ready to go, but seems the left hand isn't talking to the right between MS and NVid on providing toolkits for this platform ) >.<
     
  8. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,693
    Depends on what you want to do. If you want to profile GPU performance, the only way to do it currently is to use http://graphics.stanford.edu/~mdfisher/GPUView.html , but it's very advanced tool, and you have to know what you're doing.

    If you want to debug the frame, you have to use Visual Studio's DirectX Graphics Debugger.

    I think the situation might get better with Windows 8.1
     
  9. tswalk

    tswalk

    Joined:
    Jul 27, 2013
    Posts:
    1,109
    it definitely is, and beyond my scope for now... thanks again for the help and guidance.. much appreciated!
     
  10. Hoorza

    Hoorza

    Joined:
    May 8, 2016
    Posts:
    40
    I have tried many solutions from the forums and what was the problem for me was the Windows Firewall. I disable it completely for the profiling and it works right away. The new device shows up in the "editor" dropdown menu. Works via Wi-Fi.