Vinark117 / BetterRuleTiles-Support

Support repository for the Unity package "Better Rule Tiles"
1 stars 0 forks source link

The editor is not working properly in full screen mode. #14

Open AliMusllam opened 7 months ago

AliMusllam commented 7 months ago

Pressing SHIFT + Space keys to make the tool editor window full screen, makes it not work as intended.

You can not select the tile drawer tools, or even move the editor space freely.

b1

Vinark117 commented 7 months ago

Unfortunately I cannot replicate this issue so I don't know what could cause it. For me it perfectly works.

Does the editor give you any errors that could help identifying the problem?

AliMusllam commented 7 months ago

@Vinark117 Found it is not related to the plug-in itself, it's from my project side.

The plug-in works normally in different projects.

EDIT:

Nvm, still having same issue in freshly made project, not sure it's related to the version or what:

Edit 2: This happens only on the SHIFT + Space mode, and does not happen when you have detached full window mode for Better Rule Tile Editor.

ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint Aborting UnityEngine.GUILayoutGroup.GetNext () (at <3787173144ff4a19b1a55d5938e19421>:0) UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type layoutType) (at <3787173144ff4a19b1a55d5938e19421>:0) UnityEditor.EditorGUILayout.BeginScrollView (UnityEngine.Vector2 scrollPosition, System.Boolean alwaysShowHorizontal, System.Boolean alwaysShowVertical, UnityEngine.GUIStyle horizontalScrollbar, UnityEngine.GUIStyle verticalScrollbar, UnityEngine.GUIStyle background, UnityEngine.GUILayoutOption[] options) (at <5d5ebefe97114215928ac1d9cd096522>:0) UnityEditor.EditorGUILayout.BeginScrollView (UnityEngine.Vector2 scrollPosition, UnityEngine.GUILayoutOption[] options) (at <5d5ebefe97114215928ac1d9cd096522>:0) VinToolsEditor.BetterRuleTiles.BetterRuleTileEditor.GridCellInfoWindow (System.Int32 windowID) (at Assets/BetterRuleTiles/Editor/CustomEditor/BetterRuleTileEditor.cs:1681) VinToolsEditor.Utilities.GUIWindow.WindowGUI (System.Int32 WindowID) (at Assets/BetterRuleTiles/Editor/Utilities/GUIWindow.cs:149) UnityEngine.GUI.CallWindowDelegate (UnityEngine.GUI+WindowFunction func, System.Int32 id, System.Int32 instanceID, UnityEngine.GUISkin _skin, System.Int32 forceRect, System.Single width, System.Single height, UnityEngine.GUIStyle style) (at <3787173144ff4a19b1a55d5938e19421>:0) UnityEditor.EditorWindow:EndWindows() VinToolsEditor.BetterRuleTiles.BetterRuleTileEditorWindowBase:DisplayWindows() (at Assets/BetterRuleTiles/Editor/CustomEditor/BetterRuleTileEditorWindowBase.cs:193) VinToolsEditor.BetterRuleTiles.BetterRuleTileEditor:DisplayWindows() (at Assets/BetterRuleTiles/Editor/CustomEditor/BetterRuleTileEditor.cs:812) VinToolsEditor.BetterRuleTiles.BetterRuleTileEditor:OnGUI() (at Assets/BetterRuleTiles/Editor/CustomEditor/BetterRuleTileEditor.cs:323) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

GUI Error: Invalid GUILayout state in BetterRuleTileEditor view. Verify that all layout Begin/End calls match UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)