Hello,
I have newly installed the Unity version 2119.2.5f1 and started a new project. Almost instandly came this error in the console, even before I created any GameObjects.
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Android.SDKManager..ctor () (at <5557b445b4634c46b2ec8376c040bd34>:0)
UnityEditor.Android.SDKManager.GetInstance () (at <5557b445b4634c46b2ec8376c040bd34>:0)
UnityEditor.Android.AndroidPreferenceWindowExtension.WritePreferences () (at <5557b445b4634c46b2ec8376c040bd34>:0)
UnityEditor.PreferencesProvider.WritePreferences () (at C:/buildslave/unity/build/Editor/Mono/PreferencesWindow/PreferencesSettingsProviders.cs:818)
UnityEditor.PreferencesProvider.AppsListClick (System.Object userData, System.String[] options, System.Int32 selected) (at C:/buildslave/unity/build/Editor/Mono/PreferencesWindow/PreferencesSettingsProviders.cs:974)
Does anyone know what caused this and how I can fix it?
I installed the Android SDK along with Unity via Hub.
↧