Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Error When Selecting Error Line In Console

Discussion in '2019.1 Beta' started by Binouze, Apr 10, 2019.

  1. Binouze

    Binouze

    Joined:
    Mar 2, 2017
    Posts:
    61
    Hi I try the release candidate since yesterday and I have a problem, when I select some debug log message in the console, al messages in the console disappears, when I click on "collapse" the logs are back but I have the following error (multiple time the sames errors) :

    Code (csharp):
    1.  
    2. ArgumentOutOfRangeException: Length cannot be less than zero.
    3. Parameter name: length
    4.   at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0004a] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    5.   at UnityEditor.ConsoleWindow.StacktraceWithHyperlinks (System.String stacktraceText) [0x000a6] in C:\buildslave\unity\build\Editor\Mono\ConsoleWindow.cs:823
    6.   at UnityEditor.ConsoleWindow.OnGUI () [0x008fc] in C:\buildslave\unity\build\Editor\Mono\ConsoleWindow.cs:740
    7.   at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
    8.   at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    9. Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    10.   at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    11.   at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    12.   at UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) [0x00015] in C:\buildslave\unity\build\Editor\Mono\HostView.cs:345
    13.   at UnityEditor.HostView.Invoke (System.String methodName) [0x00009] in C:\buildslave\unity\build\Editor\Mono\HostView.cs:339
    14.   at UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) [0x00111] in C:\buildslave\unity\build\Editor\Mono\HostView.cs:315
    15.   at UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean floatingWindow, System.Boolean isBottomTab) [0x0003a] in C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:373
    16.   at UnityEditor.DockArea.OldOnGUI () [0x001ee] in C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:340
    17.   at UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize) [0x001db] in C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:295
    18.   at UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect) [0x00073] in C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:481
    19.   at UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent () [0x0003b] in C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:455
    20.   at UnityEngine.UIElements.UIR.ImmediateRenderer.Draw (UnityEngine.UIElements.UIR.DrawChainState dcs) [0x0002a] in C:\buildslave\unity\build\Modules\UIElements\Renderer\UIRenderer\UIRenderers.cs:447
    21.   at UnityEngine.UIElements.UIR.UIRenderDevice.ContinueChain (UnityEngine.UIElements.UIR.RendererBase head, UnityEngine.UIElements.UIR.DrawChainState dcs, System.Boolean outerChainsWithMeshRenderer) [0x0002b] in C:\buildslave\unity\build\Modules\UIElements\Renderer\UIRenderer\UIRenderDevice.cs:841
    22.   at UnityEngine.UIElements.UIR.UIRenderDevice.DrawChain (UnityEngine.UIElements.UIR.RendererBase head, UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection, UnityEngine.Texture atlas) [0x00079] in C:\buildslave\unity\build\Modules\UIElements\Renderer\UIRenderer\UIRenderDevice.cs:824
    23.   at UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) [0x0003b] in C:\buildslave\unity\build\Modules\UIElements\Renderer\UIRRepaintUpdater.cs:218
    24.   at UnityEngine.UIElements.UIRRepaintUpdater.Update () [0x000b9] in C:\buildslave\unity\build\Modules\UIElements\Renderer\UIRRepaintUpdater.cs:190
    25.   at UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTree () [0x00022] in C:\buildslave\unity\build\Modules\UIElements\VisualTreeUpdater.cs:70
    26.   at UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) [0x0006b] in C:\buildslave\unity\build\Modules\UIElements\Panel.cs:589
    27.   at UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) [0x00018] in C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:240
    28.   at UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) [0x00030] in C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:78
    29.   at UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) [0x00012] in C:\buildslave\unity\build\Modules\IMGUI\GUIUtility.cs:179
    30.  
    31. (Filename: <1f0c1ef1ad524c38bbc5536809c46b48> Line: 0)
    32.  
    33. ArgumentOutOfRangeException: Length cannot be less than zero.
    34. Parameter name: length
    35.   at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0004a] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    36.   at UnityEditor.ConsoleWindow.StacktraceWithHyperlinks (System.String stacktraceText) [0x000a6] in C:\buildslave\unity\build\Editor\Mono\ConsoleWindow.cs:823
    37.   at UnityEditor.ConsoleWindow.OnGUI () [0x008fc] in C:\buildslave\unity\build\Editor\Mono\ConsoleWindow.cs:740
    38.   at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
    39.   at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    40. Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    41.   at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    42.   at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    43.   at UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) [0x00015] in C:\buildslave\unity\build\Editor\Mono\HostView.cs:345
    44.   at UnityEditor.HostView.Invoke (System.String methodName) [0x00009] in C:\buildslave\unity\build\Editor\Mono\HostView.cs:339
    45.   at UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) [0x00111] in C:\buildslave\unity\build\Editor\Mono\HostView.cs:315
    46.   at UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean floatingWindow, System.Boolean isBottomTab) [0x0003a] in C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:373
    47.   at UnityEditor.DockArea.OldOnGUI () [0x001ee] in C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:340
    48.   at UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize) [0x00191] in C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:278
    49. UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    50. UnityEngine.DebugLogHandler:LogException(Exception, Object)
    51. UnityEngine.Logger:LogException(Exception, Object)
    52. UnityEngine.Debug:LogException(Exception)
    53. UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean, Rect) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:289)
    54. UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:478)
    55. UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:464)
    56. UnityEngine.UIElements.KeyboardEventDispatchingStrategy:DispatchEvent(EventBase, IPanel) (at C:\buildslave\unity\build\Modules\UIElements\Events\KeyboardEventDispatchingStrategy.cs:21)
    57. UnityEngine.UIElements.EventDispatcher:ProcessEvent(EventBase, IPanel) (at C:\buildslave\unity\build\Modules\UIElements\EventDispatcher.cs:280)
    58. UnityEngine.UIElements.EventDispatcher:Dispatch(EventBase, IPanel, DispatchMode) (at C:\buildslave\unity\build\Modules\UIElements\EventDispatcher.cs:156)
    59. UnityEngine.UIElements.BaseVisualElementPanel:SendEvent(EventBase, DispatchMode) (at C:\buildslave\unity\build\Modules\UIElements\Panel.cs:189)
    60. UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:255)
    61. UnityEngine.UIElements.UIElementsUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:78)
    62. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\IMGUI\GUIUtility.cs:179)
    63.  
    64. (Filename: <1f0c1ef1ad524c38bbc5536809c46b48> Line: 0)
    65.  
    66. GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
    67. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    68. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    69. UnityEngine.Logger:Log(LogType, Object)
    70. UnityEngine.Debug:LogError(Object)
    71. UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean, Rect) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:404)
    72. UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:478)
    73. UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:464)
    74. UnityEngine.UIElements.KeyboardEventDispatchingStrategy:DispatchEvent(EventBase, IPanel) (at C:\buildslave\unity\build\Modules\UIElements\Events\KeyboardEventDispatchingStrategy.cs:21)
    75. UnityEngine.UIElements.EventDispatcher:ProcessEvent(EventBase, IPanel) (at C:\buildslave\unity\build\Modules\UIElements\EventDispatcher.cs:280)
    76. UnityEngine.UIElements.EventDispatcher:Dispatch(EventBase, IPanel, DispatchMode) (at C:\buildslave\unity\build\Modules\UIElements\EventDispatcher.cs:156)
    77. UnityEngine.UIElements.BaseVisualElementPanel:SendEvent(EventBase, DispatchMode) (at C:\buildslave\unity\build\Modules\UIElements\Panel.cs:189)
    78. UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:255)
    79. UnityEngine.UIElements.UIElementsUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:78)
    80. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\IMGUI\GUIUtility.cs:179)
    81.  
    82. (Filename: C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs Line: 404)
    83.  
    For information here is an exemple error that make error happens when I click on it:

    Code (csharp):
    1. [HTTPUpdateDelegator] OnApplicationQuit
    2. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    3. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    4. UnityEngine.Logger:Log(LogType, Object)
    5. UnityEngine.Debug:LogError(Object)
    6. BestHTTP.HTTPUpdateDelegator:OnApplicationQuit() (at Assets\Plugins\Best HTTP (Pro)\BestHTTP\HTTPUpdateDelegator.cs:220)
    7. (Filename: Assets/Plugins/Best HTTP (Pro)/BestHTTP/HTTPUpdateDelegator.cs Line: 220)
    And an other:

    Code (csharp):
    1. <b><color=#00FF00>[ActionsAmis] ReceptionEventSocket,club_deco_joueur,{"status":"OK","CLUB_SERVER__service_room":{"periode_club":"semaine","joueur_unique":{"no_joueur_club":"2","display_pseudo":"JCAPC","display_coupes":7615,"rang":"elder","pot_club":[],"demande_fruit_heure_next":"1554822711","fruit_envoye":"40","membre_du_club_depuis":"1553232478","en_ligne":true},"joueur_deco":"2"},"xml_id":"890156.9318577275","heure":1554819802,"output":""}</color></b>
    2. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    3. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    4. UnityEngine.Logger:Log(LogType, Object)
    5. UnityEngine.Debug:LogWarning(Object)
    6. Logger:BBO2(Object[]) (at Assets\Standard Assets\Utilities\Logger.cs:69)
    7. Actions.ActionsAmis:ReceptionEventSocket(String, Dictionary`2) (at Assets\Scripts\Actions\ActionsAmis.cs:504)
    8. SocketIO.MasterSocketIO:OnEvent(Socket, Packet, Object[]) (at Assets\Scripts\SocketIO\MasterSocketIO.cs:337)
    9. BestHTTP.SocketIO.Events.EventDescriptor:Call(Socket, Packet, Object[]) (at Assets\Plugins\Best HTTP (Pro)\BestHTTP\SocketIO\Events\EventDescriptor.cs:73)
    10. BestHTTP.SocketIO.Events.EventTable:Call(String, Packet, Object[]) (at Assets\Plugins\Best HTTP (Pro)\BestHTTP\SocketIO\Events\EventTable.cs:84)
    11. BestHTTP.SocketIO.Events.EventTable:Call(Packet) (at Assets\Plugins\Best HTTP (Pro)\BestHTTP\SocketIO\Events\EventTable.cs:113)
    12. BestHTTP.SocketIO.Socket:BestHTTP.SocketIO.ISocket.OnPacket(Packet) (at Assets\Plugins\Best HTTP (Pro)\BestHTTP\SocketIO\Socket.cs:409)
    13. BestHTTP.SocketIO.SocketManager:BestHTTP.SocketIO.IManager.OnPacket(Packet) (at Assets\Plugins\Best HTTP (Pro)\BestHTTP\SocketIO\SocketManager.cs:539)
    14. BestHTTP.SocketIO.Transports.WebSocketTransport:OnPacket(Packet) (at Assets\Plugins\Best HTTP (Pro)\BestHTTP\SocketIO\Transports\WebSocketTransport.cs:359)
    15. BestHTTP.SocketIO.Transports.WebSocketTransport:OnMessage(WebSocket, String) (at Assets\Plugins\Best HTTP (Pro)\BestHTTP\SocketIO\Transports\WebSocketTransport.cs:146)
    16. BestHTTP.WebSocket.WebSocket:<OnInternalRequestUpgraded>b__42_0(WebSocketResponse, String) (at Assets\Plugins\Best HTTP (Pro)\BestHTTP\WebSocket\WebSocket.cs:427)
    17. BestHTTP.WebSocket.WebSocketResponse:BestHTTP.IProtocol.HandleEvents() (at Assets\Plugins\Best HTTP (Pro)\BestHTTP\WebSocket\WebSocketResponse.cs:577)
    18. BestHTTP.HTTPManager:OnUpdate() (at Assets\Plugins\Best HTTP (Pro)\BestHTTP\HTTPManager.cs:612)
    19. BestHTTP.HTTPUpdateDelegator:Update() (at Assets\Plugins\Best HTTP (Pro)\BestHTTP\HTTPUpdateDelegator.cs:178)
    20. (Filename: Assets/Standard Assets/Utilities/Logger.cs Line: 69)
     
    Last edited: Apr 10, 2019
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,402
    Hi Binouze,
    Could you please submit a bug report with a minimal reproduction project and reply in here with the issue ID?
     
  3. Binouze

    Binouze

    Joined:
    Mar 2, 2017
    Posts:
    61
    Hi, I just reported the bug and the issue ID is 1144965.

    PS: Just found that the problem is related to parenthesis in the path name. Is a script with a parenthesis in the path call a log the console will turns blank.
     
    Last edited: Apr 11, 2019
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,402
  5. Binouze

    Binouze

    Joined:
    Mar 2, 2017
    Posts:
    61
    This will not be fixed in 2019.1 ?, this is a very annoying bug I cannot debug anymore my app, I always have to open the editor log file...
     
  6. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,402
    I can't say for sure if they'll have time to backport it to 2019.1. That depends on the team's other priorities.
     
  7. Alagatar

    Alagatar

    Joined:
    Jul 10, 2012
    Posts:
    1
    Hi, this bug make unity 2019.1 and 2019.1.1 almost unusable. Please release patch as soon as possible.
    Thanks
     
    radiantboy likes this.
  8. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    803
    Ive got a lot of these too, is it the same thing? mine doesnt point to an asset

    ArgumentNullException: Value cannot be null.
    Parameter name: key
    at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    at Unity.Experimental.EditorMode.EditorModes.ShouldInvokeOnGUI (UnityEditor.EditorWindow window) [0x00009] in C:\buildslave\unity\build\Editor\Mono\EditorMode\EditorModes.cs:301
    at UnityEditor.HostView.OldOnGUI () [0x0007b] in C:\buildslave\unity\build\Editor\Mono\HostView.cs:137
    at UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize) [0x00191] in C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:278
    UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean, Rect) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:289)
    UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:478)
    UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent() (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:455)
    UnityEngine.UIElements.UIR.ImmediateRenderer:Draw(DrawChainState) (at C:\buildslave\unity\build\Modules\UIElements\Renderer\UIRenderer\UIRenderers.cs:447)
    UnityEngine.UIElements.UIR.UIRenderDevice:ContinueChain(RendererBase, DrawChainState, Boolean) (at C:\buildslave\unity\build\Modules\UIElements\Renderer\UIRenderer\UIRenderDevice.cs:841)
    UnityEngine.UIElements.UIR.UIRenderDevice:DrawChain(RendererBase, Rect, Matrix4x4, Texture) (at C:\buildslave\unity\build\Modules\UIElements\Renderer\UIRenderer\UIRenderDevice.cs:824)
    UnityEngine.UIElements.UIRRepaintUpdater:DrawChain(Rect, Matrix4x4) (at C:\buildslave\unity\build\Modules\UIElements\Renderer\UIRRepaintUpdater.cs:218)
    UnityEngine.UIElements.UIRRepaintUpdater:Update() (at C:\buildslave\unity\build\Modules\UIElements\Renderer\UIRRepaintUpdater.cs:190)
    UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTree() (at C:\buildslave\unity\build\Modules\UIElements\VisualTreeUpdater.cs:70)
    UnityEngine.UIElements.Panel:Repaint(Event) (at C:\buildslave\unity\build\Modules\UIElements\Panel.cs:589)
    UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:240)
    UnityEngine.UIElements.UIElementsUtility:processEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:78)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\IMGUI\GUIUtility.cs:179)

    (Filename: <1f0c1ef1ad524c38bbc5536809c46b48> Line: 0)
     
  9. timchen214

    timchen214

    Joined:
    Dec 22, 2015
    Posts:
    2
    I got something here

    TimeZoneNotFoundException: Exception of type 'System.TimeZoneNotFoundException' was thrown.
    at System.TimeZoneInfo.FindSystemTimeZoneById (System.String id) [0x00039] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    at System.TimeZoneInfo.CreateLocal () [0x00053] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    at System.TimeZoneInfo.get_Local () [0x00009] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (System.DateTime time, System.Boolean& isAmbiguousLocalDst) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    at System.DateTime.get_Now () [0x00008] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
    at UnityEngine.GUI..cctor () [0x00089] in <591c7225a6f1434fb74854921fe5b4c4>:0
    Rethrow as TypeInitializationException: The type initializer for 'UnityEngine.GUI' threw an exception.
    at UnityEngine.GUIUtility.ResetGlobalState () [0x00001] in <591c7225a6f1434fb74854921fe5b4c4>:0
    at UnityEngine.GUIUtility.BeginGUI (System.Int32 skinMode, System.Int32 instanceID, System.Int32 useGUILayout) [0x0000d] in <591c7225a6f1434fb74854921fe5b4c4>:0

    (Filename: <1f0c1ef1ad524c38bbc5536809c46b48> Line: 0)
     
  10. Shadowing

    Shadowing

    Joined:
    Jan 29, 2015
    Posts:
    1,152
    I have this problem as well.
    I also get hit with this in my log as well when ever this bug happens.

    GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)


    I believe the two are related.



    ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
    System.String.Substring (System.Int32 startIndex, System.Int32 length) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
    UnityEditor.ConsoleWindow.StacktraceWithHyperlinks (System.String stacktraceText) (at C:/buildslave/unity/build/Editor/Mono/ConsoleWindow.cs:823)
    UnityEditor.ConsoleWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/ConsoleWindow.cs:740)
    System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <1f0c1ef1ad524c38bbc5536809c46b48>: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 <1f0c1ef1ad524c38bbc5536809c46b48>:0)
    System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
    UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:345)
    UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:339)
    UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:315)
    UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean floatingWindow, System.Boolean isBottomTab) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:373)
    UnityEditor.DockArea.OldOnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:340)
    UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:295)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:481)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent () (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:455)
    UnityEngine.UIElements.UIR.ImmediateRenderer.Draw (UnityEngine.UIElements.UIR.DrawChainState dcs) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderers.cs:447)
    UnityEngine.UIElements.UIR.UIRenderDevice.ContinueChain (UnityEngine.UIElements.UIR.RendererBase head, UnityEngine.UIElements.UIR.DrawChainState dcs, System.Boolean outerChainsWithMeshRenderer) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderDevice.cs:865)
    UnityEngine.UIElements.UIR.UIRenderDevice.DrawChain (UnityEngine.UIElements.UIR.RendererBase head, UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection, UnityEngine.Texture atlas) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderDevice.cs:848)
    UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:218)
    UnityEngine.UIElements.UIRRepaintUpdater.Update () (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:190)
    UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTree () (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:70)
    UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:589)
    UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:240)
    UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:78)
    UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)