Try Catch not working on xcode debug mode

Hi all,

xcode is stopping on exceptions which are thrown inside a try catch in my unity csharp scripts. I already checked if “slow and safe” is chosen in the player settings.

When I run the app without xcode or in release mode everything works fine.
What can I do to fix this?

I use try catch like this:

try{
// code to run
} catch { }

Best regards
Dennis

What exception are you expecting? And is the method an async method? Is this code in a co-routine or something that yields results back? It’s possible that the exception is actually occurring elsewhere.