Project settings unavailable
Hi, i'm building an app for android. in Editor everything works, but i'm unable to make a apk because of settings, so unity asked me to set them... what i'm trying to do, unfortunately, when i try to enter settings, here is what i get:
(i tryed to swap back to windows version, and can go to player settings, but the bug comes back when i go to android section parameters.)
ArgumentException: GUILayout: Mismatched LayoutGroup.repaint
UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRChainBuilder.cs:236)
UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:60)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:48)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTree () (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:72)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:670)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:274)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:107)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
Scope was not disposed! You should use the 'using' keyword or manually call Dispose.
UnityEngine.Scope:Finalize()
ArgumentException: GUILayout: Mismatched LayoutGroup.repaint
UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRChainBuilder.cs:236)
UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:60)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:48)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTree () (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:72)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:670)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:274)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:107)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
after more reboot of unity, i have got the android panel in wich i can see all options back. i clicked on Icon category, and the bug comes back.
after more tried, i finally got it to work.
i have installed android SD$$anonymous$$ but now, i have this error CommandInvokationFailure: Failed to update Android SD$$anonymous$$ package list. C:/Program Files/Unity/Hub/Editor/2019.3.0a2/Editor/Data/PlaybackEngines/AndroidPlayer\SD$$anonymous$$\tools\bin\sdkmanager.bat --list
stderr[
] stdout[
ERROR: JAVA_HO$$anonymous$$E is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HO$$anonymous$$E variable in your environment to match the location of your Java installation. ] exit code: 1 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String error$$anonymous$$sg) (at :0) UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String error$$anonymous$$sg) (at :0) UnityEditor.Android.SD$$anonymous$$$$anonymous$$anager.UpdatePackagesList () (at :0) UnityEditor.Android.SD$$anonymous$$$$anonymous$$anager.ListAvailable (UnityEditor.Android.SD$$anonymous$$$$anonymous$$anager+Component type) (at :0) UnityEditor.Android.PlayerSettingsEditorExtension+c_AnonStorey2.<>m0 () (at :0) System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at :0) System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at :0) System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at :0) System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at :0) System.Threading.ThreadHelper.ThreadStart () (at :0) UnityEngine.UnhandledExceptionHandler:m_0(Object, UnhandledExceptionEventArgs)