MAC版的Unity配置好SDK和JDK匯出APK一直報錯

Library/PackageCache/[email protected]/DataPrivacy/DataPrivacy.cs(42,26): error CS0103: The name ‘AnalyticsSessionInfo’ does not exist in the current context
Library/PackageCache/[email protected]/DataPrivacy/DataPrivacy.cs(43,29): error CS0103: The name ‘AnalyticsSessionInfo’ does not exist in the current context
Library/PackageCache/[email protected]/DataPrivacy/DataPrivacyButton.cs(47,32): error CS0117: ‘RemoteSettings’ does not contain a definition for ‘ForceUpdate’
Library/PackageCache/[email protected]/DataPrivacy/DataPrivacy.cs(97,29): error CS1061: ‘UnityWebRequest’ does not contain a definition for ‘SendWebRequest’ and no accessible extension method ‘SendWebRequest’ accepting a first argument of type ‘UnityWebRequest’ could be found (are you missing a using directive or an assembly reference?)
Library/PackageCache/[email protected]/Scripts/Runtime/TMP_UpdateManager.cs(6,32): error CS0234: The type or namespace name ‘Rendering’ does not exist in the namespace ‘UnityEngine.Experimental’ (are you missing an assembly reference?)
Error building Player because scripts had compiler errors
Build completed with a result of ‘Failed’
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: 6 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00234] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:190
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:96
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
這是我新建的專案,匯出報錯也是這樣
哪位大哥知道解決方案,麻煩指點一下小弟,要被這個問題搞到奔潰了
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/37540.html
標籤:Unity3D
上一篇:在avg游戲中加音效怎么加?
