Hi guys.
I’m very interested in using Unity Remote 5 to test the AR Games. Now, this is the scenario: I have a Mac running High Sierra 10.13.1 (Official Release Version); I have Unity 2017.2.0f3 and an iPhone 7 to run the test.
I prepared the “Building Settings” like: Run in Xcode as Debug and Development Build is checked.
Then, I run Unity and opened the “Unity Remote 5” App, ichi suggest me to: Select a divide to use in: Edit->Project Settings->Editor. I did what they suggested like this:
Then I went back to run the game, I got into Console and try to select “Connected Player” and “iPhone 7” and that’s when the error was presented:
Attempting to connect to player ip: 127.0.0.1 with a 1 ms timeout
UnityEditorInternal.ProfilerDriver:DirectURLConnect(String)
UnityEditor.AttachProfilerUI:SelectProfilerClick(Object, String[], Int32)
The device may have WiFi enabled and be connected to a network. If so, turn off the WiFi and try again.
The Editor is looking for a local player - one connected via USB (or equivalent). If the device is connected by USB (or equivalent) yet also has WiFi enabled then the device is broadcasting on the WiFi and the Editor cannot find it, so it cannot connect to it.
in Edit/Project Setting/Editor, “Device”'s selection should be “Any iOS Device”;
when Building,“Run in Xcode as”'s selection should be “Debug”;
when Building,“Development Build” should be seleceted
if the same problem happens again, just exchange “Edit/Project Setting/Editor”'s Device to any other selection and Play, then stop Play mode and repeat the first step.