Unity .net3.5 升级到.net4.x

一、xml反序列化失败

[XmlAttribute("Compressed")] 改成 [XmlElement("Compressed")]  

二、Unable to find kernel32.dll

Unity .net3.5 升级到.net4.x_第1张图片

api compatibility level 

Unity .net3.5 升级到.net4.x_第2张图片

三、SslStream ssl_stream = new SslStream 失败

NotSupportedException: Could not find TLS Provider: `Mono.AppleTls.AppleTlsProvider'.

  at Mono.Net.Security.MonoTlsProviderFactory.LookupProvider (System.String name, System.Boolean throwOnError) (at <29f77733112e45758bddddda41557ba4>:0)

  at Mono.Net.Security.MonoTlsProviderFactory.CreateDefaultProviderImpl () (at <29f77733112e45758bddddda41557ba4>:0)

  at Mono.Net.Security.MonoTlsProviderFactory.InitializeInternal () (at <29f77733112e45758bddddda41557ba4>:0)

  at Rethrow as NotSupportedException: TLS Support not available.

在Asset目录下新建link.xml 文件


  
    
  

 

你可能感兴趣的:(unity)