Skip to content

Instantly share code, notes, and snippets.

@neuecc
Created May 25, 2015 06:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neuecc/1a7c83725b8bb0afa351 to your computer and use it in GitHub Desktop.
Save neuecc/1a7c83725b8bb0afa351 to your computer and use it in GitHub Desktop.
Unity 5.0.2p2 IL2CPP compile error
// 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