Search Unity

Other Can't connect Profiler: UWPPlayerx64 Localhost prohibited

Discussion in 'Editor & General Support' started by Maeslezo, Aug 9, 2022.

  1. Maeslezo

    Maeslezo

    Joined:
    Jun 16, 2015
    Posts:
    330
    Hello,

    I am trying to connect the profiler to a UWP application. The profiler finds the application but I can not select it, it's disabled with the info : Localhost prohibited.
    However, I can connect the VS solution.

    Any idea what does localhost prohibited mean and how to solve it?

    Thank you

    upload_2022-8-9_11-37-1.png
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    UWP applications don't really support other applications connecting to them when they're running on the same machine. The solution is to have the UWP application connect to the editor itself, which you can achieve using the "Auto connect profiler" build option.

    Alternatively, run the UWP application on another machine.
     
    MartinTilo and Maeslezo like this.