- Home /
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/$$anonymous$$anual/Profiler.html
notice the iOS section, perhaps relates to the ports mentioned 54998 to 55511
Answer by ScottYann · Jul 29, 2013 at 06:39 PM
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
Answer by Davies · Mar 21, 2011 at 07:21 PM
Are you using Apple's IOS SDK 4.3? I read on the forum there might be some problems with this.
Answer by dsedb · May 27, 2011 at 08:05 AM
I also face this problem. Do I really need to download SDK 4.2* ? Couldn't someone connect iOS device with SDK 4.3?
Answer by jamie lowes · Nov 02, 2012 at 10:23 AM
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
Your answer
Follow this Question
Related Questions
Game runs smoother when profiling on an iPad 2/iPhone 4s, sluggish otherwise 0 Answers
Why do certain tasks in the profiler vary wildly in duration? 1 Answer
Can I get some profile output inside unity iphone's editor itself? 1 Answer
Analyzing iPhone Profiler in Xcode to increase game's performance 1 Answer
Spikes on iPhone3/4 every other minute. Any ideas how to find out why and/or get rid of them? 1 Answer