iOS Script Debugging with Unity 4.5.2

Hello.

I have been dealing with script debugging for iOS for over a week now and no luck so far. I am on a iMac with OSX 10.9, Unity 4.5.2 and iOS 7.1.2.

Everyone in the forums keeps pointing to this url: http://docs.unity3d.com/Documentation/Manual/Debugger.html, which is not valid anymore.

First of all, I have disabled the firewall to avoid network-related issues. All the devices are on the same wifi, and when I run the app on the iPad, I see it on the Unity Profiler, so they are correctly connected.

Now, when I try to attach the iPad via run/Attach to process menu in Mono, I find two different behaviours:

  1. If my app is running via XCode 5.1., by hitting the play button. When I attach monodevelop to the iPhonePlayer(myiPad) process, it crashes and I get an (lldb) error.

  2. If my app is running without xCode, directly from the iPad, when I try to attach monodevelop to the iPhonePlayer(myiPad) process, I get this error:

    Could not connect to the debugger.

I couldn’t find any doc, but according to this, it should already work.

Improvements
iOS: add support for script debugging over USB

Is someone finding the same behavior? Any ideas on how to get it working?

Thank you very much in advance.

Regards,

Aernarion.

I am dealing with the exact same issue now even on 4.6.2. I can’t seem to find any answers

Are you sure you are not facing this issue?

Managed Debugger is not supported. We have it on our roadmap. In the meantime, beta users have had great success debugging their script code using the Xcode debugger.

It was stated on this post, and although I haven’t tested it on Unity 4.6.2 and maybe it is back, it is working ok for me in the 4.5.5p5 version.