we found a strange issue, where when iterating over assemblies and calling GetTypes will throw an exception on a Unity dll called "Accessability".
I was able to narrow it down to the Odin editor.dll
I have a sample project (I send that via discord to Tor because it contains the odin source).
Open the project, open TestScene and press play.
It happens in Unity 2018.3.8f1 and I contacted Unity support as well.