Crashes when using UMotion with VFX Graph assets
Hi there,
I encountered multiple crashes while working with UMotion and I suspect it might be related to how it interacts with VFX Graph assets.
I’m using this package for a sword effect
https://assetstore.unity.com/packages/vfx/particles/vfx-graph-weapon-effects-vol-1-206237
The sword GameObject (which contains a VFX Graph) is initially disabled in the hierarchy.
The crashes seem to occur more frequently when both the Pose Editor and the Clip Editor windows are open in UMotion. I noticed that once I removed the VFX asset from the hierarchy, the crashes stopped occurring.
This makes me think there may be some kind of conflict between UMotion’s editor updates and Unity’s VFX system.
Here is one of the stack traces from a crash:
========== OUTPUTTING STACK TRACE ==================
0x00007FFE31E215BC (Unity) MemoryProfilerStats::UnregisterObject
0x00007FFE31E21886 (Unity) profiler_unregister_object
0x00007FFE31A0C5F8 (Unity) delete_object_internal_step1
0x00007FFE31A08EF9 (Unity) DestroySingleObject
0x00007FFE32BBA4E0 (Unity) VFXParticleSystemBatchData::~VFXParticleSystemBatchData
0x00007FFE32BBAD74 (Unity) VFXParticleSystemBatchData::`vector deleting destructor'
0x00007FFE32BD2A42 (Unity) VFXBatch::~VFXBatch
0x00007FFE32BD4818 (Unity) VFXBatchPool::Destruct
0x00007FFE32BCC84A (Unity) VFXBatchedEffect::CleanupEmptyBatches
0x00007FFE32BF02CB (Unity) VFXManager::Update
0x00007FFE32BE6A31 (Unity) `VFXManager::InitializeClass'::`2'::PostLateUpdateVFXUpdateRegistrator::Forward
0x00007FFE31DBBB37 (Unity) ExecutePlayerLoop
0x00007FFE31DBBCA7 (Unity) ExecutePlayerLoop
0x00007FFE31DC0D9F (Unity) PlayerLoop
0x00007FFE32EBBB1A (Unity) EditorPlayerLoop::Execute
0x00007FFE32ED29BA (Unity) PlayerLoopController::InternalUpdateScene
0x00007FFE32ED479D (Unity) PlayerLoopController::UpdateSceneIfNeededFromMainLoop
0x00007FFE32ECE45C (Unity) Application::TickTimer
0x00007FFE334C6A26 (Unity) WindowsDropTargetImpl::DragUpdated
0x00007FFE334B6E80 (Unity) CDropTarget::DragOver
0x00007FFEECBAC006 (ole32) RevokeActiveObjectExt
0x00007FFEECBABE6C (ole32) RevokeActiveObjectExt
0x00007FFEECB6A01A (ole32) OleGetPackageClipboardOwner
0x00007FFEECB69F51 (ole32) OleGetPackageClipboardOwner
0x00007FFEECB6DAA0 (ole32) DoDragDrop
0x00007FFE334CAE27 (Unity) DragAndDrop::StartDelayedDrag
0x00007FFE334C6F4A (Unity) DragAndDrop::ApplyQueuedStartDrag
0x00007FFE334E63F1 (Unity) GUIView::OnInputEvent
0x00007FFE3345A18D (Unity) GUIView::ProcessInputEvent
0x00007FFE334E6E71 (Unity) GUIViewPlatform::ProcessEventMessages
0x00007FFE334E33CF (Unity) GUIViewPlatform::GUIViewWndProc
0x00007FFEED83EF5C (USER32) CallWindowProcW
0x00007FFEED83E684 (USER32) DispatchMessageW
0x00007FFE334A98C3 (Unity) MainMessageLoop
0x00007FFE334AF59C (Unity) UnityMain
0x00007FF701E92FBA (Unity) __scrt_common_main_seh
0x00007FFEED407374 (KERNEL32) BaseThreadInitThunk
0x00007FFEEE0BCC91 (ntdll) RtlUserThreadStart
Customer support service by UserEcho