GrandZhuo
GrandZhuo
### 这是因为Unity运行时和编译时加载的dll不同导致的。 问题会出现在当```Scripting Runtime Version```选择```.Net 4.x```时(Unity 2019.2.6中这项设置貌似移除了),如下图:  ### 运行时 Unity运行时加载的dll是```Unity安装路径\Editor\Data\MonoBleedingEdge\lib\mono\unityjit\mscorlib.dll``` 如下图:  ### 编译时 Unity编译时加载的dll是```Unity安装路径\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api\mscorlib.dll``` 如下图:  ### 解决方法 1. ```Scripting Runtime Version```选择```.Net 3.5```(需要评估对项目的影响) 2. 导出时添加黑名单过滤掉报错的方法。
I found that I can use `git log --left-right --cherry-pick --pretty=raw master...dev | tig --pretty=raw` to compare two branches, and the `--cherry-pick` parameter works well however `--left-right` still doesn't work.