1. 程式人生 > >Unity 外掛編譯版本不相容問題

Unity 外掛編譯版本不相容問題

 前兩天把Unity 專案從5.4.3版本升級到5.5的版本,出現了一個特別蛋疼的問題

專案中用到了Google.ProtocolBuffersLite.dll 這個動態連結庫,在升級完Unity版本後出現了 ”Unity targets .NET 4.x and is marked as compatible with editor, Editor can only use assemblies targeting .NET 3.5 or lower“ 的問題。


解決方法:

1、開啟Player Setting 

2、把Scripting Runtime Version 改為.NET 4.6

3、重新啟動Unity 編輯器