- Home /
Unity profiler usually fails to connect to iPhone
I've had really disappointing experiences trying to use the unity profiler to profile on the iPhone.
I build a development build, and have the checkbox to auto connect to the profiler (it has never successfully auto connected).
50% of the time, the profiler never sees the iPhone in the drop down menu, all I can select is 'editor'. 40% of the time I can see my iPhone in the drop down menu, but when I select it 'editor' is still selected, or when I press 'record' nothing gets recorded. 10% of the time it works correctly.
So far the profiler has been horribly inconsistent and it's extremely frustrating to use. Any ideas on what is going wrong here?
I had some problems with this, but I found that when connecting wired that the game built and ran and connected every time. If it did not I unticked record, waited for my game to start and then selected the iphone from the drop down. I made sure the tick for the player I was profiling moved to the iPhone and then hit record and then hit current frame. if you don't hit current frame then you can be inspected a frame that quickly runs into the past and becomes history.
Your answer
![](https://koobas.hobune.stream/wayback/20220613074417im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
AOT cross compiler failing on iOS 2 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