Protobuf-net & IL2CPP - System.Reflection.Emit is not supported
问题 I have a problem with the protobuf-net and Android app built with IL2CPP. Everything worked fine when I used MONO instead of IL2CPP for development. Now I need to use IL2CPP for x64 support. I didn't know System.Reflection.Emit is not supported with IL2CPP and protobuf-net is using it. Is there a way to make the protobuf-net work with IL2CPP? 回答1: I got same problem on iOS. You have to compile ProtoModel before. using Assembly = UnityEditor.Compilation.Assembly; private static void