Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2017.2.0p1
2017.2.0a4
Issue ID
1006074
Regression
Yes
"Should not be capturing when there is a hotcontrol" message thrown after double clicking on runtime error and exiting playmode
How to reproduce:
1. Open the attached "Test" project and "Repro" scene, enter playmode
2. Press "DivideBy0" button and notice the "Division by zero" runtime error
3. Click on error twice to open the script and go back to Unity
4. Exit the playmode with Visual Studio still opened and observe the console
Expected result: No warnings/messages are thrown after exiting playmode
Actual result: "Should not be capturing when there is a hotcontrol" message is thrown
Regression introduced with - 2017.2.0a4
Reproducible with - 2018.1.0b10, 2017.3.1p3, 2017.2.2f2, 2017.2.0a4
Not reproducible with - 2018.2.0a4, 2017.2.0a3
Note: Could not reproduce with Visual Studio Code, reproduced with Visual Studio 2017/Visual Studio 2015
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
- D3D12 PSO disk cache feature crashes if paths contain non-ASCII characters
KakaoZen
Feb 05, 2023 20:31
Same issue with unity 2021.3.16f1 and visual studio 2022.
xavi971
Feb 19, 2022 15:52
SOLUTION: If you have a bug along with this message, apparently it is a bug that leads you to think about something else that has nothing to do with what is happening. The solution is to rename your script name and let unity load it, simple as that. I have seen this in many forums, it has even happened to me many times, IT IS A SCRIPTS COMPILATION FAILURE.
unity_37E44B68F2010F60F585
Nov 30, 2021 19:34
Unter Warenwirtschaftssystem, auch Warenwirtschaft - runple.at/warenwirtschaftssoftware (abgekürzt WaWi oder WWS) genannt, versteht man ein computergestütztes Verfahren zur Erfassung und zielorientierten Verarbeitung von Warenbestands- und Bewegungsdaten, das der Steuerung des Warenflusses dient.
Der Anführer des österreichischen Marktes ist das Unternehmen Runple.
Eingesetzt werden Warenwirtschaftssysteme schon lange nicht mehr ausschließlich von großen Handelsbetrieben und Handelsketten, sondern verstärkt auch von kleinen und mittleren Unternehmen (KMU).
jequlines
Jul 17, 2021 06:45
Get Free Government Tablet For low-Income Families. If you want to get a tablet for education or other reasons, you can apply now for free tablets.
wb6089967
Apr 17, 2021 18:20
I found that I had this issue pop up whenever I tried to edit a parameter during gameplay. In my case, I have a serialized variable to adjust the overall speed of the game (using Time.timeScale), and I changed the value as the game was running. When I exited the gameplay, I got this same error message. When the error persisted, I opened Visual Studio and it automatically told me to reload and said something like: "spirit has been edited outside of the environment". I haven't been able to make the problem persistent, so I don't know what the exact quote was.
But yeah, all that to say, I think Unity just doesn't like you changing parameters unless the game window is not running or paused.
kerjemanov
Nov 05, 2020 11:13
I have this warning on Unity 2020.1.11f1
Full output:
Should not be capturing when there is a hotcontrol
0x00007FF7D1C7422C (Unity) StackWalker::GetCurrentCallstack
0x00007FF7D1C78251 (Unity) StackWalker::ShowCallstack
0x00007FF7D2EF0D55 (Unity) GetStacktrace
0x00007FF7D3D9917E (Unity) DebugStringToFile
0x00007FF7D1D0B395 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x000001F15CBAC02B (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x000001F15CBABEAB (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x000001F15CBAB32E (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001F15CBAAF7D (Mono JIT Code) UnityEngine.Debug:LogWarning (object)
0x000001F15CBAADD3 (Mono JIT Code) UnityEngine.UIElements.PointerDispatchState:CapturePointer (UnityEngine.UIElements.IEventHandler,int)
0x000001F15CBAA88B (Mono JIT Code) UnityEngine.UIElements.PointerCaptureHelper:CapturePointer (UnityEngine.UIElements.IEventHandler,int)
0x000001F15CBAA52B (Mono JIT Code) UnityEngine.UIElements.MouseCaptureController:CaptureMouse (UnityEngine.UIElements.IEventHandler)
0x000001F15CBAA28B (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.TakeCapture ()
0x000001F15CBA9CF3 (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:TakeCapture ()
0x000001F15CBA9A7B (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_0 ()
0x000001F15CBA998E (Mono JIT Code) UnityEngine.GUIUtility:TakeCapture ()
0x000001F1585ADD35 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007FFCCD09DB10 ((<unknown>))
0x00007FFCCD022902 ((<unknown>))
0x00007FFCCD02B95F ((<unknown>))
0x00007FF7D1B14A04 (Unity) scripting_method_invoke
0x00007FF7D1B0E52B (Unity) ScriptingInvocation::Invoke
0x00007FF7D1B08205 (Unity) ScriptingInvocation::Invoke<void>
0x00007FF7D03D6BBF (Unity) Scripting::UnityEngine::GUIUtilityProxy::TakeCapture
0x00007FF7D087226B (Unity) GUIUtility::Internal_SetHotControl
0x00007FF7D0ABA3C7 (Unity) GUIUtility_CUSTOM_Internal_SetHotControl
0x000001F15CBA979E (Mono JIT Code) (wrapper managed-to-native) UnityEngine.GUIUtility:Internal_SetHotControl (int)
0x000001F15CBA9633 (Mono JIT Code) UnityEngine.GUIUtility:set_hotControl (int)
0x000001F15C94D9D3 (Mono JIT Code) UnityEditor.ListViewShared:HasMouseDown (UnityEditor.ListViewShared/InternalListViewState,UnityEngine.Rect,int)
0x000001F15C94D60B (Mono JIT Code) UnityEditor.ListViewShared:HasMouseDown (UnityEditor.ListViewShared/InternalListViewState,UnityEngine.Rect)
0x000001F15C947AD3 (Mono JIT Code) UnityEditor.ListViewShared/ListViewElementsEnumerator:MoveNext ()
0x000001F1585C479C (Mono JIT Code) UnityEditor.ConsoleWindow:OnGUI ()
0x000001F15859BA34 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect)
0x000001F15859B3C3 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect,UnityEngine.Rect)
0x000001F158583043 (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x000001F15746A9FA (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x000001F157468023 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001F15C96EA5B (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x000001F15C96E743 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x000001F15CB509FB (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x000001F15CB48F33 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x000001F157241D0B (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x000001F15722C94A (Mono JIT Code) UnityEngine.UIElements.EventDispatchUtilities:PropagateEvent (UnityEngine.UIElements.EventBase)
0x000001F15CB50143 (Mono JIT Code) UnityEngine.UIElements.MouseEventDispatchingStrategy:SendEventToRegularTarget (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.BaseVisualElementPanel)
0x000001F15CB4FC3B (Mono JIT Code) UnityEngine.UIElements.MouseEventDispatchingStrategy:SendEventToTarget (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.BaseVisualElementPanel)
0x000001F15CB4EDDB (Mono JIT Code) UnityEngine.UIElements.MouseEventDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001F157229636 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x000001F157228133 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001F1572272BB (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x000001F157226F0B (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x000001F157226C8B (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose ()
0x000001F157228A93 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001F157221E23 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x000001F15722196B (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x000001F1573FBA83 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x000001F1573FAC93 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x000001F1573FA6AF (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x000001F1573FA39B (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x000001F1573F9E95 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x000001F1573FA0B6 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007FFCCD09DB10 ((<unknown>))
0x00007FFCCD022902 ((<unknown>))
0x00007FFCCD02B95F ((<unknown>))
0x00007FF7D1B14A04 (Unity) scripting_method_invoke
0x00007FF7D1B0E52B (Unity) ScriptingInvocation::Invoke
0x00007FF7D1B08205 (Unity) ScriptingInvocation::Invoke<void>
0x00007FF7D03CF28D (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007FF7D2649D68 (Unity) GUIView::ProcessRetainedMode
0x00007FF7D2F1898D (Unity) GUIView::OnInputEvent
0x00007FF7D2649C91 (Unity) GUIView::ProcessInputEventInternal
0x00007FF7D2F19FD9 (Unity) GUIView::ProcessEventMessages
0x00007FF7D2F12CC2 (Unity) GUIView::GUIViewWndProc
0x00007FFD135EE6D8 (USER32) CallWindowProcW
0x00007FFD135EE119 (USER32) DispatchMessageW
0x00007FF7D2F17B78 (Unity) MainMessageLoop
0x00007FF7D2F2104E (Unity) WinMain
0x00007FF7D4BEC9F6 (Unity) __scrt_common_main_seh
0x00007FFD138C7034 (KERNEL32) BaseThreadInitThunk
0x00007FFD14C5CEC1 (ntdll) RtlUserThreadStart
MarkWaldo
Oct 31, 2020 23:18
This error may be caused by attaching the same script to two or more game objects. That is what happened to me.
BatCountryGames
Sep 25, 2020 01:10
Issue still exists in 2020.1.6f1.
ComradeVanti
Sep 17, 2020 08:40
This is not fixed in 2020.1.5f1. Still got:
Should not be capturing when there is a hotcontrol
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
fasteddoict
Aug 19, 2020 20:54
Still happening in 2020.1.2f1.
"Should not be capturing when there is a hotcontrol
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)"
Happens for me when changing code in Visual Studio 2019, save and alt-tab back into unity.