unity 版本 unity 2019.4.16f1c1
JDK 版本 jdk1.8.0_241
SDK 版本 不知道怎么看, 但是是大于 26 的可以使用的
報錯內容:
----UnityHub\2019.4.16f1c1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.ugui\Runtime\UI\Core\RectMask2D.cs(175,41): error CS1501: No overload for method 'RectangleContainsScreenPoint' takes 4 arguments
----UnityHub\2019.4.16f1c1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.ugui\Runtime\UI\Core\MaskableGraphic.cs(152,28): error CS1061: 'CanvasRenderer' does not contain a definition for 'clippingSoftness' and no accessible extension method 'clippingSoftness' accepting a first argument of type 'CanvasRenderer' could be found (are you missing a using directive or an assembly reference?)
----Error building Player because scripts had compiler errors
----Build completed with a result of 'Failed' in 4 seconds (3535 ms) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
----UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <599cc8297d774c7eab3d57de775dc8cb>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <599cc8297d774c7eab3d57de775dc8cb>:0
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
我的專案狀態:
全新的專案, 只有一個初始場景, 沒有任何代碼, 沒有任何資源
我嘗試過的解決方法:
(1)修改專案簽名, 使之與自定義的公司名和專案名一致 【無效】
(2)修改 .NET 版本, 4.x 或者 2.0 試過了 【無效】
一些相關的截圖:

----------------------------------------------------------------------------------------------
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/244454.html
標籤:Unity3D
上一篇:求大神
