User avatar
nadjibus
Topic Author
Posts: 32
Joined: 24 Feb 2022, 04:09

Unity Editor Crash in v3.2.1

27 May 2023, 12:08

EDIT: I nailed it down to Visibility property, if I flatten the Binding path (Binding HasObjectives instead of ObjectivesViewModel.HasObjectives), Editor does not crash anymore.

Hello. I'm having a Unity Editor (2021.3.6f1) Crash each time during Domain Reload. First play works ok, it happens only after I stop and play again, the Editor crashes during Domain Reload. I pinned it down to a relatively normal Xaml control. If I remove the "NestedGrid" control it does not crash anymore;
<Grid x:Name="NotificationsGrid"
              Margin="10,20"
              HorizontalAlignment="Left"
              VerticalAlignment="Top">
        
            <Grid x:Name="NestedGrid" Visibility="{Binding ObjectivesViewModel.HasObjectives, Converter={StaticResource BoolToVisibilityConverter}}">
               
            
            </Grid>
        </Grid>
Here is the Noesis relevant crash log:
Reloading assemblies for play mode.
Registering precompiled user dll's ...
Registered in 0.029369 seconds.
Reloading assemblies after forced synchronous recompile.
Begin MonoManager ReloadAssembly

=================================================================
Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
at Noesis.NoesisGUI_PINVOKE:BaseComponent_Release <0x000db>
at Noesis.BaseComponent:Release <0x00082>
at Noesis.Extend:ReleasePending <0x00212>
at Noesis.Extend:Shutdown <0x00c82>
at Noesis.Extend:OnDomainUnload <0x00082>
at <Module>:invoke_void_object_EventArgs <0x002d4>
at System.AppDomain:DoDomainUnload <0x00099>
at System.Object:runtime_invoke_void__this__ <0x00187>
=================================================================
Received signal SIGSEGV
Obtained 132 stack frames
0x00007ffef6c5cb29 (Noesis) DragEventArgs_SetEffectsHelper
0x00007ffef6b790cf (Noesis) DependencyProperty_GetUnsetValue
0x00007ffef6b7947f (Noesis) DependencyProperty_GetUnsetValue
0x00007ffef6b79d21 (Noesis) DependencyProperty_GetUnsetValue
0x00007ffef6cc751f (Noesis) DependencyProperty_GetOwnerTypeHelper
0x00007ffef6bd9517 (Noesis) Rect_GetStaticType
0x00007ffef6b5c074 (Noesis) Boxed_String_GetStaticType
0x00007ffef6cda7e5 (Noesis) Boxed_VirtualizationCacheLength_GetStaticType
0x00007ffef6cc6e10 (Noesis) DependencyProperty_GetOwnerTypeHelper
0x00007ffef6bdfb81 (Noesis) Rect_GetStaticType
0x00007ffef6c48115 (Noesis) MultiBindingExpression_UpdateSource
0x00007ffef6be3638 (Noesis) Rect_GetStaticType
0x00007ffef6bdac05 (Noesis) Rect_GetStaticType
0x00007ffef6bdfba6 (Noesis) Rect_GetStaticType
0x00007ffef6c48115 (Noesis) MultiBindingExpression_UpdateSource
0x00007ffef6be3638 (Noesis) Rect_GetStaticType
0x00007ffef6bdac05 (Noesis) Rect_GetStaticType
0x00007ffef6bdfba6 (Noesis) Rect_GetStaticType
0x00007ffef6c48115 (Noesis) MultiBindingExpression_UpdateSource
0x00007ffef6be3638 (Noesis) Rect_GetStaticType
0x00007ffef6bdac05 (Noesis) Rect_GetStaticType
0x00007ffef6bdfba6 (Noesis) Rect_GetStaticType
0x00007ffef6b9f6ea (Noesis) Rect_GetStaticType
0x00007ffef6b97c35 (Noesis) ManipulationStartingEventArgs_SetManipulationContainerHelper
0x00007ffef6be3638 (Noesis) Rect_GetStaticType
0x00007ffef6be37cf (Noesis) Rect_GetStaticType
0x00007ffef6bdc211 (Noesis) Rect_GetStaticType
0x00007ffef6be035d (Noesis) Rect_GetStaticType
0x00007ffef6cdb26b (Noesis) Boxed_VirtualizationCacheLength_GetStaticType
0x00007ffef6be0fd5 (Noesis) Rect_GetStaticType
0x00007ffef6b98c0b (Noesis) ManipulationStartingEventArgs_SetManipulationContainerHelper
0x00007ffef6b98ef3 (Noesis) ManipulationStartingEventArgs_SetManipulationContainerHelper
0x00007ffef6b5be96 (Noesis) Boxed_String_GetStaticType
0x00007ffef6b5b90a (Noesis) Boxed_String_GetStaticType
0x00007ffef6bd8e79 (Noesis) Rect_GetStaticType
0x00007ffef6d2e872 (Noesis) Size_GetStaticType
0x00007ffef6b98c68 (Noesis) ManipulationStartingEventArgs_SetManipulationContainerHelper
0x00007ffef6bdf76f (Noesis) Rect_GetStaticType
0x00007ffef6bdfccd (Noesis) Rect_GetStaticType
0x00007ffef6b98ec5 (Noesis) ManipulationStartingEventArgs_SetManipulationContainerHelper
0x00007ffef6b5be96 (Noesis) Boxed_String_GetStaticType
0x00007ffef6b5b90a (Noesis) Boxed_String_GetStaticType
0x00007ffef6bd8e79 (Noesis) Rect_GetStaticType
0x00007ffef6bdafb6 (Noesis) Rect_GetStaticType
0x00007ffef6b98bf9 (Noesis) ManipulationStartingEventArgs_SetManipulationContainerHelper
0x00007ffef6b98ef3 (Noesis) ManipulationStartingEventArgs_SetManipulationContainerHelper
0x00007ffef6b5be96 (Noesis) Boxed_String_GetStaticType
0x00007ffef6b5b90a (Noesis) Boxed_String_GetStaticType
0x00007ffef6d44fca (Noesis) String_GetStaticType
0x00007ffef6b5ef69 (Noesis) Boxed_String_GetStaticType
0x00007ffef6b5b46d (Noesis) Boxed_String_GetStaticType
0x00007ffef6b5aff6 (Noesis) Boxed_String_GetStaticType
0x00007ffef6b5b9b9 (Noesis) Boxed_String_GetStaticType
0x00007ffef6c95bbe (Noesis) MouseEventArgs_XButton2_get
0x00007ffef6b79813 (Noesis) DependencyProperty_GetUnsetValue
0x00007ffef6b5c085 (Noesis) Boxed_String_GetStaticType
0x00007ffef6cda7e5 (Noesis) Boxed_VirtualizationCacheLength_GetStaticType
0x00007ffef6cc6e10 (Noesis) DependencyProperty_GetOwnerTypeHelper
0x00007ffef6bdfb81 (Noesis) Rect_GetStaticType
0x00007ffef6b9f6ea (Noesis) Rect_GetStaticType
0x00007ffef6b97c35 (Noesis) ManipulationStartingEventArgs_SetManipulationContainerHelper
0x00007ffef6b5be96 (Noesis) Boxed_String_GetStaticType
0x00007ffef6b5b90a (Noesis) Boxed_String_GetStaticType
0x00007ffef6d3296f (Noesis) Size_GetStaticType
0x00007ffef6b5b33c (Noesis) Boxed_String_GetStaticType
0x00007ffef6b5aff6 (Noesis) Boxed_String_GetStaticType
0x00007ffef6b5b9b9 (Noesis) Boxed_String_GetStaticType
0x00007ffef6b79527 (Noesis) DependencyProperty_GetUnsetValue
0x00007ffef6cc751f (Noesis) DependencyProperty_GetOwnerTypeHelper
0x00007ffef6bd9517 (Noesis) Rect_GetStaticType
0x00007ffef6b5c074 (Noesis) Boxed_String_GetStaticType
0x00007ffef6cda7e5 (Noesis) Boxed_VirtualizationCacheLength_GetStaticType
0x00007ffef6cc6e10 (Noesis) DependencyProperty_GetOwnerTypeHelper
0x00007ffef6bdfb81 (Noesis) Rect_GetStaticType
0x00007ffef6b9f6ea (Noesis) Rect_GetStaticType
0x00007ffef6b97c35 (Noesis) ManipulationStartingEventArgs_SetManipulationContainerHelper
0x00007ffef6b5be96 (Noesis) Boxed_String_GetStaticType
0x00007ffef6b5b90a (Noesis) Boxed_String_GetStaticType
0x00007ffef6d3296f (Noesis) Size_GetStaticType
0x00007ffef6be360c (Noesis) Rect_GetStaticType
0x00007ffef6bdac05 (Noesis) Rect_GetStaticType
0x00007ffef6bdfba6 (Noesis) Rect_GetStaticType
0x00007ffef6c48115 (Noesis) MultiBindingExpression_UpdateSource
0x00007ffef6be3638 (Noesis) Rect_GetStaticType
0x00007ffef6be37cf (Noesis) Rect_GetStaticType
0x00007ffef6bdc211 (Noesis) Rect_GetStaticType
0x00007ffef6be05d8 (Noesis) Rect_GetStaticType
0x00007ffef6b97b78 (Noesis) ManipulationStartingEventArgs_SetManipulationContainerHelper
0x00007ffef6b97c6f (Noesis) ManipulationStartingEventArgs_SetManipulationContainerHelper
0x00007ffef6b5be96 (Noesis) Boxed_String_GetStaticType
0x00007ffef6b5b90a (Noesis) Boxed_String_GetStaticType
0x00007ffef6bd8e79 (Noesis) Rect_GetStaticType
0x00007ffef6d2e872 (Noesis) Size_GetStaticType
0x00007ffef6b97c08 (Noesis) ManipulationStartingEventArgs_SetManipulationContainerHelper
0x00007ffef6d88910 (Noesis) SizeChangedInfo_PreviousSize_get
0x00007ffef6ba9994 (Noesis) Rect_GetStaticType
0x00007ffef6b63574 (Noesis) Boxed_String_GetStaticType
0x00007ffef6ccd327 (Noesis) DependencyProperty_GetOwnerTypeHelper
0x00007ffef6ccd5d4 (Noesis) DependencyProperty_GetOwnerTypeHelper
0x00007ffef6b5c03b (Noesis) Boxed_String_GetStaticType
0x00007ffef6ccd46f (Noesis) DependencyProperty_GetOwnerTypeHelper
0x00007ffef6ccd624 (Noesis) DependencyProperty_GetOwnerTypeHelper
0x00007ffef6b42973 (Noesis)
0x000001ad0a0f437c (Mono JIT Code) (wrapper managed-to-native) Noesis.NoesisGUI_PINVOKE:BaseComponent_Release (intptr)
0x000001ad0a0f4223 (Mono JIT Code) [BaseComponent.cs:62] Noesis.BaseComponent:Release (intptr)
0x000001ad0a3a4803 (Mono JIT Code) [Extend.cs:6110] Noesis.Extend:ReleasePending ()
0x000001ad08656323 (Mono JIT Code) [Extend.cs:83] Noesis.Extend:Shutdown ()
0x000001ad08655623 (Mono JIT Code) [Extend.cs:36] Noesis.Extend:OnDomainUnload (object,System.EventArgs)
0x000001ad0864b845 (Mono JIT Code) (wrapper delegate-invoke) <Module>:invoke_void_object_EventArgs (object,System.EventArgs)
0x000001ad0864b50a (Mono JIT Code) System.AppDomain:DoDomainUnload ()
0x000001ad033ec758 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007ffec8f6e4b4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffec8eae764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffec8d923c0 (mono-2.0-bdwgc) [appdomain.c:3485] mono_domain_try_unload
0x00007ffec8f5873a (mono-2.0-bdwgc) [unity-utils.c:757] mono_unity_domain_unload
0x00007ff719a25310 (Unity) UnloadDomain
0x00007ff719a16d83 (Unity) MonoManager::CreateAndSetChildDomain
0x00007ff719a159c9 (Unity) MonoManager::BeginReloadAssembly
0x00007ff719a1f477 (Unity) MonoManager::ReloadAssembly
0x00007ff71a958bde (Unity) Internal_ADB_Only_ReloadAllUsedAssemblies
0x00007ff71ae11ec7 (Unity) ImportOutOfDateAssets
0x00007ff71ae1dd43 (Unity) RefreshInternalV2
0x00007ff71ae2551b (Unity) StopAssetImportingV2Internal
0x00007ff71a934206 (Unity) EditorSceneManager::RestoreSceneBackups
0x00007ff71a645515 (Unity) PlayerLoopController::EnterPlayMode
0x00007ff71a654a67 (Unity) PlayerLoopController::SetIsPlaying
0x00007ff71a657e6d (Unity) Application::TickTimer
0x00007ff71aaa37aa (Unity) MainMessageLoop
0x00007ff71aaa805b (Unity) WinMain
0x00007ff71be2b42e (Unity) __scrt_common_main_seh
0x00007fff77797614 (KERNEL32) BaseThreadInitThunk
0x00007fff779a26a1 (ntdll) RtlUserThreadStart
You can find attached the full log + dmp file.
Attachments
Crash_2023-05-27_095427874.zip
(538.35 KiB) Downloaded 42 times
 
User avatar
sfernandez
Site Admin
Posts: 2995
Joined: 22 Dec 2011, 19:20

Re: Unity Editor Crash in v3.2.1

29 May 2023, 13:37

I've created ticket #2612 to track this issue, let's continue there.
 
User avatar
nadjibus
Topic Author
Posts: 32
Joined: 24 Feb 2022, 04:09

Re: Unity Editor Crash in v3.2.1

14 Oct 2023, 17:54

It appears the crash is not happening anymore in v3.2.2. Thank you!

Edit: Spoke too soon, still happens (less frequently though), but the stack trace seems different, so I don't know if it's the same bug or not. Attached the new crash log + dump.
Attachments
Crash_2023-10-14_163405514.zip
(781.44 KiB) Downloaded 24 times

Who is online

Users browsing this forum: Semrush [Bot] and 13 guests