Open fvsfvs123 opened 7 years ago
optimize_for (file option): Can be set to SPEED, CODE_SIZE, or LITE_RUNTIME. This affects the C++ and Java code generators (and possibly third-party generators) in the following ways:......
LITE_RUNTIME 针对的是 C++ 和 Java
嗯,官方是只针对了C++和Java,但是生成的CS文件的反射功能使用unity的l2cpp打成的包在runtime时会报错。
pb3.3.0自带的protoc生成的cs文件是带有反射功能的,加了LITE_RUNTIME也没有用,请问有好的解决方法吗。