Search Issue Tracker

In Progress

Fix In Review for 6000.0.X, 6000.1.X

Fixed in 2022.3.53f1

Votes

4

Found in

6000.0.12f1

6000.1.0a4

7000.0.0a1

Issue ID

UUM-76934

Regression

No

Crash on MonoBehaviour::Transfer<GenerateTypeTreeTransfer> when the XR Interaction Toolkit Sample Assets are updated

--

-

Reproduction steps ({*}Unity 2021 or 2022{*}):
# Create a new project
# Open the Package Manager by navigating to Window → *Package Manager*
# Click the *+* symbol and choose *Add package by name...*
# Type *com.unity.xr.interaction.toolkit* into the name field and *2.4.3* into the version field
# Navigate to the "Samples" tab and *import* the *Starter Assets*
# In the *Project* view, navigate to *Samples/XR Interaction Toolkit/2.4.3/Starter Assets* and open the *DemoScene.unity*
# Make sure the *Scene view* has loaded in everything correctly (materials).
# In Package Manager, click the *+* symbol again and *Add package by name...*
# Type *com.unity.xr.interaction.toolkit* into the name field and *2.5.4* into the version field and press enter
# Navigate to the "Samples" tab and *Update* the *Starter Assets*
# Click *Yes* when prompted to overwrite existing assets.
# Observe the crash

Note: For reproduction on {*}Unity 6{*}, you can use package version *3.0.1* and update to *3.0.4*

Reproducible with: 2022.3.7f1, 2022.3.37f1, 2021.3.38f1, 6000.0.0f1, 6000.0.11f1
Not reproducible with: ?
Regressed in: ?

Reproduced on: Windows 10 Pro
Not reproducible on: No other environment tested

{*}WORKAROUNDS{*}:
* Delete the existing/older XRI samples before updating to the latest version.
* Close active scene or create a new blank scene before Updating - *{color:#ff0000}This is a key piece of information when narrowing down the crash. It only happens when a scene is open that uses assets from the sample.{color}*

{quote} 
{code:java}
================================================================= 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 UnityEditor.AssetDatabase:Refresh <0x000e0>   at UnityEditor.AssetDatabase:Refresh <0x0007a>   at UnityEditor.PackageManager.UI.Internal.AssetDatabaseProxy:Refresh <0x00082>   at UnityEditor.PackageManager.UI.Sample:Import <0x00bc2>   at UnityEditor.PackageManager.UI.Internal.PackageDetailsSampleItem:OnImportButtonClicked <0x01092>   at UnityEngine.UIElements.Clickable:Invoke <0x000c6>   at UnityEngine.UIElements.Clickable:ProcessUpEvent <0x00712>   at UnityEngine.UIElements.Clickable:OnMouseUp <0x001c9>   at UnityEngine.UIElements.EventCallbackFunctor`1:Invoke <0x003c9>   at UnityEngine.UIElements.EventCallbackRegistry:InvokeCallbacks <0x00537>   at UnityEngine.UIElements.CallbackEventHandler:HandleEvent <0x008ba>   at UnityEngine.UIElements.CallbackEventHandler:HandleEventAtCurrentTargetAndPhase <0x0008b>   at UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase <0x0016a>   at UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent <0x01212>   at UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies <0x002b5>   at UnityEngine.UIElements.EventDispatcher:ProcessEvent <0x0046a>   at UnityEngine.UIElements.EventDispatcher:ProcessEventQueue <0x0035a>   at UnityEngine.UIElements.EventDispatcher:OpenGate <0x001ea>   at UnityEngine.UIElements.EventDispatcherGate:Dispose <0x0008a>   at UnityEngine.UIElements.EventDispatcher:ProcessEvent <0x01442>   at UnityEngine.UIElements.EventDispatcher:Dispatch <0x0043a>   at UnityEngine.UIElements.BaseVisualElementPanel:SendEvent <0x0017a>   at UnityEngine.UIElements.UIElementsUtility:DoDispatch <0x00c62>   at UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent <0x002c2>   at UnityEngine.UIElements.UIEventRegistration:ProcessEvent <0x00233>   at <>c:<.cctor>b__1_2 <0x0009a>   at UnityEngine.GUIUtility:ProcessEvent <0x00114>   at <Module>:runtime_invoke_void_int_intptr_intptr& <0x001b5> ================================================================= Received signal SIGSEGV Obtained 66 stack frames 0x00007ff6663eea1f (Unity) MonoBehaviour::Transfer<GenerateTypeTreeTransfer> 0x00007ff666418c4d (Unity) MonoBehaviour::VirtualRedirectTransfer 0x00007ff6664fba0e (Unity) TypeTreeCache::GetTypeTree 0x00007ff6664e9c1e (Unity) SerializedFile::SerializedType::CompareAgainstNewType 0x00007ff6664effa2 (Unity) SerializedFile::ReadObject 0x00007ff6664efd16 (Unity) SerializedFile::ReadObject 0x00007ff6664d4a65 (Unity) PersistentManager::ReadAndActivateObjectThreaded 0x00007ff6664d1fc4 (Unity) PersistentManager::LoadObjectsThreaded 0x00007ff6664d1d0c (Unity) PersistentManager::LoadObjects 0x00007ff6678dcd6e (Unity) ImportedAssetsReloadList::ReloadAssetInstances 0x00007ff6678dce98 (Unity) ImportedAssetsReloadList::ReloadImportedAssetIfLoaded 0x00007ff66785d4d7 (Unity) AssetImportManager::Import 0x00007ff667860711 (Unity) ImportOutOfDateAssets 0x00007ff66786b419 (Unity) RefreshInternalV2 0x00007ff66787315f (Unity) StopAssetImportingV2Internal 0x00007ff66786c74c (Unity) RefreshV2 0x00007ff6677e0fe0 (Unity) AssetDatabase::Refresh 0x00007ff665c0a20f (Unity) AssetDatabase_CUSTOM_Refresh 0x000002817a8a0671 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.AssetDatabase:Refresh (UnityEditor.ImportAssetOptions) 0x000002817a8a051b (Mono JIT Code) UnityEditor.AssetDatabase:Refresh () 0x000002817a8a0423 (Mono JIT Code) UnityEditor.PackageManager.UI.Internal.AssetDatabaseProxy:Refresh () 0x000002817a8881e3 (Mono JIT Code) UnityEditor.PackageManager.UI.Sample:Import (UnityEditor.PackageManager.UI.Sample/ImportOptions) 0x000002817a881093 (Mono JIT Code) UnityEditor.PackageManager.UI.Internal.PackageDetailsSampleItem:OnImportButtonClicked () 0x000002817a87eb27 (Mono JIT Code) UnityEngine.UIElements.Clickable:Invoke (UnityEngine.UIElements.EventBase) 0x000002817a87d8a3 (Mono JIT Code) UnityEngine.UIElements.Clickable:ProcessUpEvent (UnityEngine.UIElements.EventBase,UnityEngine.Vector2,int) 0x000002817a87ceaa (Mono JIT Code) UnityEngine.UIElements.Clickable:OnMouseUp (UnityEngine.UIElements.MouseUpEvent) 0x0000028177a2f84a (Mono JIT Code) UnityEngine.UIElements.EventCallbackFunctor`1<TEventType_REF>:Invoke (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.PropagationPhase) 0x0000028177a2eca8 (Mono JIT Code) UnityEngine.UIElements.EventCallbackRegistry:InvokeCallbacks (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.PropagationPhase) 0x000002817795c25b (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEvent (UnityEngine.UIElements.EventBase) 0x000002817795b8dc (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase) 0x000002817795ae5b (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase) 0x000002817a7d7013 (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel) 0x0000028177a45976 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool) 0x0000028177a442fb (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel) 0x0000028177923ceb (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue () 0x00000281779238eb (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate () 0x000002817792368b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose () 0x0000028177a452d3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel) 0x0000028177a37dab (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode) 0x0000028177a378db (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode) 0x00000281793726d3 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel) 0x0000028179371673 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&) 0x0000028179371094 (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr) 0x0000028179370dab (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr) 0x0000028179370855 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) 0x0000028179370a96 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr) 0x00007ffa2a1ce0e4 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445) 0x00007ffa2a10eb84 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066) 0x00007ffa2a10ed1c (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113) 0x00007ff666440aa4 (Unity) scripting_method_invoke 0x00007ff66641f724 (Unity) ScriptingInvocation::Invoke 0x00007ff66641a375 (Unity) ScriptingInvocation::Invoke<void> 0x00007ff66656c66a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent 0x00007ff666f5c378 (Unity) GUIView::ProcessRetainedMode 0x00007ff667521394 (Unity) GUIView::OnInputEvent 0x00007ff666f5c2c3 (Unity) GUIView::ProcessInputEventFromAPI 0x00007ff666f5c198 (Unity) GUIView::ProcessInputEvent 0x00007ff66752219c (Unity) GUIView::ProcessEventMessages 0x00007ff66751beba (Unity) GUIView::GUIViewWndProc 0x00007ffb4657ef5c (USER32) CallWindowProcW 0x00007ffb4657e684 (USER32) DispatchMessageW 0x00007ff6674f56f3 (Unity) MainMessageLoop 0x00007ff6674fa870 (Unity) WinMain 0x00007ff6688df34e (Unity) __scrt_common_main_seh 0x00007ffb46d27344 (KERNEL32) BaseThreadInitThunk 0x00007ffb46f5cc91 (ntdll) RtlUserThreadStart{code}
 
{quote}

Comments (1)

  1. nonemec

    Apr 04, 2024 09:28

    Looking forward to a fix on 2.5.x - pity that this interface does not offer a button to watch this issue for progress and send out an email notification. Maybe leaving this comment will help?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.