Search Unity

Errors in Unity 2021.2 with Terrain Toolbox window

Discussion in 'World Building' started by drupaljoe, Nov 23, 2021.

  1. drupaljoe

    drupaljoe

    Joined:
    Feb 4, 2019
    Posts:
    80
    Is Terrain Toolbox compatible with Unity 2021.2? It's installed version 4.0.3 and the tools seem to work but I get errors such as this one whenever I open the window.

    Code (CSharp):
    1. ArgumentException: Getting control 2's position in a group with only 2 controls when doing repaint
    2. Aborting
    3. UnityEngine.GUILayoutGroup.GetNext () (at <eb58cc8d9f124fc8b338f7a2aa050b46>:0)
    4. UnityEngine.GUILayoutUtility.DoGetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <eb58cc8d9f124fc8b338f7a2aa050b46>:0)
    5. UnityEngine.GUILayoutUtility.GetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <eb58cc8d9f124fc8b338f7a2aa050b46>:0)
    6. UnityEditor.EditorGUILayout.GetControlRect (System.Boolean hasLabel, System.Single height, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <ba030cc3475e41258f58c8c467eb72e2>:0)
    7. UnityEditor.EditorGUILayout.FloatField (System.Single value, UnityEngine.GUILayoutOption[] options) (at <ba030cc3475e41258f58c8c467eb72e2>:0)
    8. UnityEditor.TerrainTools.TerrainToolboxCreateTerrain.ShowImportHeightmapGUI () (at Library/PackageCache/com.unity.terrain-tools@4.0.3/Editor/TerrainToolbox/TerrainToolboxCreateTerrain.cs:527)
    9. UnityEditor.TerrainTools.TerrainToolboxCreateTerrain.OnGUI () (at Library/PackageCache/com.unity.terrain-tools@4.0.3/Editor/TerrainToolbox/TerrainToolboxCreateTerrain.cs:154)
    10. UnityEditor.TerrainTools.TerrainToolboxWindow.OnGUI () (at Library/PackageCache/com.unity.terrain-tools@4.0.3/Editor/TerrainToolbox/TerrainToolboxWindow.cs:87)
    11. UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <ba030cc3475e41258f58c8c467eb72e2>:0)
    12. UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <ba030cc3475e41258f58c8c467eb72e2>:0)
    13. UnityEditor.DockArea.OldOnGUI () (at <ba030cc3475e41258f58c8c467eb72e2>:0)
    14. 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 <79197d32789c42609feb5591f73dd778>:0)
    15. UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <79197d32789c42609feb5591f73dd778>:0)
    16. UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <79197d32789c42609feb5591f73dd778>:0)
    17. UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <79197d32789c42609feb5591f73dd778>:0)
    18. Rethrow as ImmediateModeException
    19. UnityEngine.UIElements.UIR.RenderChain.Render () (at <79197d32789c42609feb5591f73dd778>:0)
    20. UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <79197d32789c42609feb5591f73dd778>:0)
    21. UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <79197d32789c42609feb5591f73dd778>:0)
    22. UnityEngine.UIElements.Panel.UpdateForRepaint () (at <79197d32789c42609feb5591f73dd778>:0)
    23. UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <79197d32789c42609feb5591f73dd778>:0)
    24. UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <79197d32789c42609feb5591f73dd778>:0)
    25. UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <79197d32789c42609feb5591f73dd778>:0)
    26. UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <79197d32789c42609feb5591f73dd778>:0)
    27. UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <79197d32789c42609feb5591f73dd778>:0)
    28. UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <eb58cc8d9f124fc8b338f7a2aa050b46>:0)
    29.  
     
unityunity