-
Notifications
You must be signed in to change notification settings - Fork 241
Closed
Description
I don't have the precise cause yet, but if you do stuff that tries to print too big to fit in the terminal (maybe too wide in one string?) the terminal's IMGUI code throws exceptions and you see the terminal blinking green on and off (the keyboard focus keeps toggling on and off). This is more than just a cosmetic annoyance, since when this happens the terminal stops working entirely and you can't type any new commands until you reload the scene.
When that happens this message spams the log:
ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
at System.Collections.Generic.List`1[kOS.Safe.Screen.IScreenBufferLine].get_Item (Int32 index) [0x00000] in <filename unknown>:0
at kOS.Screen.TermWindow.TerminalGui (Int32 windowId) [0x00000] in <filename unknown>:0
at UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction func, Int32 id, Int32 instanceID, UnityEngine.GUISkin _skin, Int32 forceRect, Single width, Single height, UnityEngine.GUIStyle style) [0x00000] in <filename unknown>:0
(Filename: Line: -1)
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced)
(Filename: Line: 504)
ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
at System.Collections.Generic.List`1[kOS.Safe.Screen.IScreenBufferLine].get_Item (Int32 index) [0x00000] in <filename unknown>:0
at kOS.Screen.TermWindow.TerminalGui (Int32 windowId) [0x00000] in <filename unknown>:0
at UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction func, Int32 id, Int32 instanceID, UnityEngine.GUISkin _skin, Int32 forceRect, Single width, Single height, UnityEngine.GUIStyle style) [0x00000] in <filename unknown>:0
(Filename: Line: -1)
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced)
(Filename: Line: 504)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels