- Home /
Question by
GuardianArchangelJohn · Nov 24, 2017 at 06:30 PM ·
.net-assemblies
2017.2 OSX - "Loading script assembly "Assets/Plugins/I18N.dll" failed!"
Running 2017.2, have it hooked up to Visual Studio for Mac.
When I try to add a folder for plugins and add some DLLs for things like i18n (on one project need to access encodings like 1252 for certain text I/O), System.Data (Mono.Data) for SQL/SQLite, System.Security (System.ComponentModel.Component.WebClient won't work without Security loaded), etc I get Loading script assembly errors like the above.
Where do I need to go to copy the right DLLs on Mac?
Comment
Answer by GuardianArchangelJohn · Nov 24, 2017 at 06:36 PM
Found some that look like they work (at least they import without errors) at: /Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/unity/
but whenever I use WebClient I get this:
DllNotFoundException: Security
Mono.AppleTls.AppleTlsContext.InitializeConnection () (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.AppleTls.AppleTlsContext.StartHandshake () (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncProtocolRequest asyncRequest, Mono.Net.Security.AsyncOperationStatus status) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (Mono.Net.Security.AsyncOperationStatus status) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.AsyncProtocolRequest.ProcessOperation () (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.AsyncProtocolRequest.StartOperation () (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.AsyncProtocolRequest.StartOperation (Mono.Net.Security.AsyncOperation operation) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Net.LazyAsyncResult lazyResult) (at <344dc4d3f1ad41809df78607b6121a41>:0)
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at /Users/builduser/buildslave/mono/build/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:151)
Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Net.LazyAsyncResult lazyResult) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.Private.MonoSslStreamWrapper.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) (at <344dc4d3f1ad41809df78607b6121a41>:0)
System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Rethrow as WebException: Error: SecureChannelFailure (Security)
System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) (at <344dc4d3f1ad41809df78607b6121a41>:0)
System.Net.WebClient.DownloadData (System.Uri address) (at <344dc4d3f1ad41809df78607b6121a41>:0)
System.Net.WebClient.DownloadData (System.String address) (at <344dc4d3f1ad41809df78607b6121a41>:0)
(wrapper remoting-invoke-with-check) System.Net.WebClient:DownloadData (string)
SoundCloudScript.Start () (at Assets/Scripts/SoundCloudScript.cs:19)
Your answer
![](https://koobas.hobune.stream/wayback/20220612143302im_/https://answers.unity.com/themes/thub/images/avi.jpg)