I was doing some grass painting, and it was working absolutely fine a few days ago, and i did quite a few things before going to add some more grass in, and now all of this is popping up when I attempt to add more grass in.
Unity 2022.3.5f1
Any other details or questions needed, I will answer quickly.
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.TerrainTools.TerrainToolsAnalytics.CompareBrushSettings (UnityEditor.TerrainTools.TerrainToolsAnalytics+IBrushParameter[] parameters) (at ./Library/PackageCache/com.unity.terrain-tools@5.0.1/Editor/Analytics/TerrainToolsAnalytics.cs:159)
UnityEditor.TerrainTools.TerrainToolsAnalytics.UpdateAnalytics (UnityEditor.TerrainTools.BaseBrushUIGroup baseBrushSettings, System.Func`1[TResult] brushParamFunc) (at ./Library/PackageCache/com.unity.terrain-tools@5.0.1/Editor/Analytics/TerrainToolsAnalytics.cs:126)
UnityEditor.TerrainTools.BaseBrushUIGroup.OnPaint (UnityEngine.Terrain terrain, UnityEditor.TerrainTools.IOnPaint editContext) (at ./Library/PackageCache/com.unity.terrain-tools@5.0.1/Editor/TerrainTools/BrushControllers/BaseBrushUIGroup.cs:762)
UnityEditor.TerrainTools.DetailScatterTool.OnPaint (UnityEngine.Terrain terrain, UnityEditor.TerrainTools.IOnPaint editContext) (at ./Library/PackageCache/com.unity.terrain-tools@5.0.1/Editor/TerrainTools/DetailsScatterTool.cs:229)
UnityEditor.TerrainInspector.OnSceneGUICallback (UnityEditor.SceneView sceneView) (at <bf6080dbf0564cf1b405dfd6e0dac725>:0)
UnityEditor.SceneView.CallOnSceneGUI () (at <bf6080dbf0564cf1b405dfd6e0dac725>:0)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at <bf6080dbf0564cf1b405dfd6e0dac725>:0)
UnityEditor.SceneView.DoOnGUI () (at <bf6080dbf0564cf1b405dfd6e0dac725>:0)
UnityEditor.SceneView.OnSceneGUI () (at <bf6080dbf0564cf1b405dfd6e0dac725>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.IMGUIContainer.ProcessEvent (UnityEngine.UIElements.EventBase evt) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase evt) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.CallbackEventHandler.UnityEngine.UIElements.IEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAcrossPropagationPath (UnityEngine.UIElements.EventBase evt) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.EventDispatchUtilities.PropagateEvent (UnityEngine.UIElements.EventBase evt) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.SendEventToRegularTarget (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.SendEventToTarget (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel iPanel) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <a053cdfb5a094ce2b5935515091f978f>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <67c1db6425fe429196b3bd2ca4348442>:0)