If you can’t attach your visual studio for mac debugger to your Unity iOS build on device

Unity il2cpp debugging support has evolved and now you can debug managed C# code for il2cpp ios builds which is a very cool feature. However I was very annoyed that I couldn’t connect my visual studio debugger to my iOS build that had ‘Development Build’ and ‘Script Debugging’ checkboxes enabled.

I then figured out that I had to enable ‘Symlink Unity Libraries’ checkbox too to be able to debug iOS il2cpp debug builds in visual studio for MAC. It wasn’t clearly documented anywhere, I hope I saved you a lot of hair pulling.

Leave a Reply

Your email address will not be published. Required fields are marked *