Unity Pro Profiler can't find my iPhone

I have Unity 3.3 Pro and iPhone Advanced. I can deploy and execute code on my iPhone from Unity. I can profile my code in the editor using the Unity profiler. I cannot use the profiler to profile code on my iPhone. I've checked autoconnect profiler in the build settings and am building a development build. I have both my iPhone and my Macbook on the same wireless network. When I select the active profiler drop down menu in the profiler all I see is editor. What am I missing?

I have a hunch that it may be related to my wireless network. I've installed the Unity 3 player on my iPhone and I am able to play the game via the remote BUT I had to specify the ip address of my Macbook manually in the player app in order for the two to connect. Is it possible for me to do something similar for the profiler?

Thanks!

NOTE - for a workaround: http://answers.unity3d.com/questions/340373/wth-profiler-not-working-with-ios.html also: http://docs.unity3d.com/Documentation/Manual/Profiler.html notice the iOS section, perhaps relates to the ports mentioned 54998 to 55511

4 Answers

4

I was having difficulty getting the iPad to connect to the Unity profiler too. My problem turned out that my router had WPS turned on by default which was making wireless devices inaccessible to each other. Ping would fail from the Mac to the iPad. Oddly enough with WPS turned on, once in a while it would work… But turning it off fixed my issue.

it's a real pain in the ass, Scott, true enough. I have found that Unity have dramatically improved the issue, over the last few releases. Today (summer 2013) it is tremendously more reliable and better than a year ago. the handy "emergency workaround" I mention above, is rarely needed these days. Cheers

Are you using Apple's IOS SDK 4.3? I read on the forum there might be some problems with this.

I also face this problem. Do I really need to download SDK 4.2* ?
Couldn’t someone connect iOS device with SDK 4.3?

I had this today.

I had a VPN connection open at the time. I closed that. Closed everything. Ran the game on iPad. Ran Unity and opened the profiler… and the iPad was in the list!

@jamie .. great tip an emergency workaround that got me through ... http://answers.unity3d.com/questions/340373/wth-profiler-not-working-with-ios.html