View Issue Details

IDProjectCategoryView StatusLast Update
0003491NoesisGUIUnitypublic2025-05-20 19:13
Reporterstonstad Assigned Tosfernandez  
PrioritynormalSeveritycrash 
Status resolvedResolutionno change required 
Product Version3.2.4 
Target Version3.2.8 
Summary0003491: Crash Noesis.View.MouseMove
Description

0x0000022E634159FD (Mono JIT Code) (wrapper managed-to-native) Noesis.View:Noesis_View_MouseMove (System.Runtime.InteropServices.HandleRef,int,int)
0x0000022E6341585B (Mono JIT Code) [D:\Source\StellarConquest\StellarConquest.Utilities\Noesis\3.2.4\Runtime\API\Core\View.cs:202] Noesis.View:MouseMove (int,int)
0x0000022E63412F5B (Mono JIT Code) [D:\Source\StellarConquest\StellarConquest.Utilities\Noesis\3.2.4\Runtime\NoesisView.cs:1115] NoesisView:UpdateMouse ()
0x0000022E634127FB (Mono JIT Code) [D:\Source\StellarConquest\StellarConquest.Utilities\Noesis\3.2.4\Runtime\NoesisView.cs:1346] NoesisView:UpdateInputs (single)
0x0000022E63408D23 (Mono JIT Code) [D:\Source\StellarConquest\StellarConquest.Utilities\Noesis\3.2.4\Runtime\NoesisView.cs:1502] NoesisView:UpdateInternal ()
0x0000022E6340883B (Mono JIT Code) [D:\Source\StellarConquest\StellarConquest.Utilities\Noesis\3.2.4\Runtime\NoesisView.cs:1409] NoesisView:LateUpdate ()
0x0000022E9690A3D8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_voidthis (object,intptr,intptr,intptr)
0x00007FFA085E4B7E (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007FFA0851D204 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3068] do_runtime_invoke
0x00007FFA0851D37C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3115] mono_runtime_invoke
0x00007FF7D322D564 (Unity) scripting_method_invoke
0x00007FF7D320B8E4 (Unity) ScriptingInvocation::Invoke
0x00007FF7D31F32C4 (Unity) MonoBehaviour::CallMethodIfAvailable
0x00007FF7D31F33EA (Unity) MonoBehaviour::CallUpdateMethod
0x00007FF7D2C8EA4B (Unity) BaseBehaviourManager::CommonUpdate<LateBehaviourManager>
0x00007FF7D2C960CA (Unity) LateBehaviourManager::Update
0x00007FF7D2EC62BD (Unity) InitPlayerLoopCallbacks'::2'::PreLateUpdateScriptRunBehaviourLateUpdateRegistrator::Forward
0x00007FF7D2EA5A9C (Unity) ExecutePlayerLoop
0x00007FF7D2EA5C10 (Unity) ExecutePlayerLoop
0x00007FF7D2EAC4A5 (Unity) PlayerLoop
0x00007FF7D3E6D4CF (Unity) PlayerLoopController::InternalUpdateScene
0x00007FF7D3E7A2DD (Unity) PlayerLoopController::UpdateSceneIfNeededFromMainLoop
0x00007FF7D3E785E1 (Unity) Application::TickTimer
0x00007FF7D42EC20A (Unity) MainMessageLoop
0x00007FF7D42F1AA0 (Unity) WinMain
0x00007FF7D56CEF2E (Unity) __scrt_common_main_seh
0x00007FFB2478257D (KERNEL32) BaseThreadInitThunk
0x00007FFB2572AF28 (ntdll) RtlUserThreadStart

Using debug/instrumented Noesis.dll

Steps To Reproduce

Encl. stack trace, stack dump.

Attached Files
PlatformAny

Activities

sfernandez

sfernandez

2024-07-12 10:09

manager   ~0009802

Last edited: 2024-07-12 11:41

This is an assert indicating that an element returned a negative Width/Height in its MeasureOverride.
It is happening doing the measure of a custom ToolTip, somewhere you have a structure like this:


<StackPanel Orientation="Vertical">
<StackPanel Orientation="Horizontal'>
<CHILD_0.../>
<CHILD_1.../>
<CHILD_2... THIS ONE IS RETURNING desiredSize.width < 0 />
</StackPanel>
<StackPanel/>

Do you recall something like this inside a ToolTip? It would help me to know if that third child is a custom class on your side, or one of the core controls/elements.

stonstad

stonstad

2024-07-12 16:53

reporter   ~0009804

Last edited: 2024-07-12 17:05

This is super helpful information. Yes, there are tooltips involved in these scenarios. While I am not aware of logic that might specify negative width, I certainty believe it is possible. Did the stack trace provide names for any of the hierarchy elements?

*update. I reviewed tooltip creation code, which is centralized logic throughout the game. I'm not seeing any use of StackPanels. Could it be a different element? If the trace shows a name for any of the elements, this will help me identify it.

Issue History

Date Modified Username Field Change
2024-07-11 18:21 stonstad New Issue
2024-07-11 18:21 stonstad File Added: Crash_2024-07-11_161841953.zip
2024-07-12 10:09 sfernandez Assigned To => sfernandez
2024-07-12 10:09 sfernandez Status new => feedback
2024-07-12 10:09 sfernandez Note Added: 0009802
2024-07-12 11:41 sfernandez Note Edited: 0009802
2024-07-12 16:53 stonstad Note Added: 0009804
2024-07-12 16:53 stonstad Status feedback => assigned
2024-07-12 17:05 stonstad Note Edited: 0009804
2024-07-15 03:57 jsantos Target Version => 3.2.5
2024-10-24 16:43 sfernandez Target Version 3.2.5 => 3.2.6
2024-11-22 18:18 jsantos Target Version 3.2.6 => 3.2.7
2025-01-20 17:43 jsantos Target Version 3.2.7 => 3.2.8
2025-05-20 19:13 sfernandez Status assigned => resolved
2025-05-20 19:13 sfernandez Resolution open => no change required
2025-10-10 13:29 jsantos Category Unity3D => Unity