Created
May 25, 2015 06:27
-
-
Save neuecc/1a7c83725b8bb0afa351 to your computer and use it in GitHub Desktop.
Unity 5.0.2p2 IL2CPP compile error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IL2CPP error for type 'Mono.Security.Protocol.Tls.Handshake.ClientCertificateType' in assembly '..\Temp\StagingArea\Data\Managed\Mono.Security.dll' | |
// Additional information: Build a development build for more information. Exception of type 'System.Exception' was thrown. | |
using System; | |
public interface IMyInterface<T> | |
{ | |
void OnNext(T value); | |
} | |
public static class Test | |
{ | |
public static void Error<T>(IMyInterface<T> mi) | |
{ | |
var act = new Action<T>(mi.OnNext); // il2cpp error | |
UnityEngine.Debug.Log(act); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment