Every time i want to edit my terrain this happens:
My brush is set to “Raise or lower the Terrain”
and everytime my mouse tuches the terrain, the screen in the scene view gets black and i get the following error message:
can someone please help me?
Could you please submit a bug report with reproduction steps attached?
Same here. I have a fresh install with a blanks scene, everything works except when I click raise/lower terrain Unity apparently gets a mental breakdown.
ArgumentException: Object at index 0 is null
UnityEditor.SerializedObject..ctor (UnityEngine.Object obj) (at <e6e2fa0a47414cd2ac33237924761b45>:0)
UnityEditor.Experimental.TerrainAPI.BaseBrushUIGroup.get_brushMaskFilterStackView () (at Library/PackageCache/com.unity.terrain-tools@3.0.1-preview/Editor/TerrainTools/BrushControllers/BaseBrushUIGroup.cs:66)
UnityEditor.Experimental.TerrainAPI.BaseBrushUIGroup.OnSceneGUI (UnityEngine.Terrain terrain, UnityEditor.Experimental.TerrainAPI.IOnSceneGUI editContext) (at Library/PackageCache/com.unity.terrain-tools@3.0.1-preview/Editor/TerrainTools/BrushControllers/BaseBrushUIGroup.cs:519)
UnityEditor.Experimental.TerrainAPI.PaintHeightTool.OnSceneGUI (UnityEngine.Terrain terrain, UnityEditor.Experimental.TerrainAPI.IOnSceneGUI editContext) (at Library/PackageCache/com.unity.terrain-tools@3.0.1-preview/Editor/TerrainTools/PaintHeightTool.cs:103)
UnityEditor.TerrainInspector.OnSceneGUICallback (UnityEditor.SceneView sceneView) (at <e6e2fa0a47414cd2ac33237924761b45>:0)
UnityEditor.SceneView.CallOnSceneGUI () (at <e6e2fa0a47414cd2ac33237924761b45>:0)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at <e6e2fa0a47414cd2ac33237924761b45>:0)
UnityEditor.SceneView.OnGUI () (at <e6e2fa0a47414cd2ac33237924761b45>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <9577ac7a62ef43179789031239ba8798>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <9577ac7a62ef43179789031239ba8798>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <9577ac7a62ef43179789031239ba8798>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <e6e2fa0a47414cd2ac33237924761b45>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <e6e2fa0a47414cd2ac33237924761b45>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <e6e2fa0a47414cd2ac33237924761b45>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <e6e2fa0a47414cd2ac33237924761b45>:0)
UnityEditor.DockArea.OldOnGUI () (at <e6e2fa0a47414cd2ac33237924761b45>: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 <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)