I'm facing the Developer Tools problem since yesterday. I use
- Unity (several different versions, e.g. 2018.4.23),
- Jetbrains Rider (updated today to 2020.1.3, yesterday 2020.1.2)
- macOS Catalina 10.15.5
I was refactoring some stuff and Developer Tools asked me for the access: Developer Tools Access needs to take control of another process for debugging to continue. Enter your password to allow this...
Since then, two things are happening.
If Developer Tools Access is enabled (also tried doing this through
sudo /usr/sbin/DevToolsSecurity --enable
command) nearly every time when I'm changing something in code, Unity stops working (loading wheel present) and I can't turn its application off. I tried using Activity Monitor, it doesn't show any activities. I can only see the loading wheel.I even tried killing the Unity process through
kill unitypid
, it "kills" the process since it's not present on the processes list, but I still can see it on my desktop, being just as down as before.Checking Unity logs, I can see it stops on:
Begin MonoManager ReloadAssembly custom-attrs.c:1250: (null) assembly:/Applications/Unity/Hub/Editor/2018.4.17f1/Unity.app/Contents/Managed/UnityEngine/UnityEngine.CoreModule.dll type:UnityException member:(null) signature:<none> Stacktrace: Native stacktrace: 0 libmonobdwgc-2.0.dylib 0x00000001460b4976 mono_handle_native_crash + 242
If Developer Tools Access is disabled, the application asks me a few times to enable it. After pressing Cancel a few times, Unity crashes and turns off and gives me the ability to send log error to Apple with the exception:
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: abort() called
Don't really know what to do. I tried updating Rider, Catalina, installing a new Unity version.
Update: I formatted the disk and installed Catalina again, it still doesn't work.
Your help would be much appreciated!