Description

Current state
Triggering Gravity on element from Sketchfab object's tree, may result in crash. For 100% reproduction rate, download 'Rank 3 Police Unit' object and apply Gravity to its element 'Rank 3 Police Unit 01'. Not all children of Sketchfab parent cause this issue.
Issue already occurred in 2023.2 release.
I attach screen recording for a better explanation.
[Link Removed].

Expected state

  • Given Sketchfab model being downloaded
    and it being placed in the viewport
    When user triggers Gravity on element (child) of this Sketchfab object
    Then gravity should be applied and no stability issues should occur.
Steps to Reproduce
  1. Precondition: Have Sketchfab model downloaded and placed in the viewport (used 'Rank 3 Police Unit')
  2. Select element from this object's tree ('Rank 3 Police Unit 01')
  3. From the top tools bar, select and trigger Gravity tool
  4. Notice crash (callstack attached).
Callstack

TwinmotionCookedEditor-Win64-Shipping!UStaticMesh::WaitUntilAsyncPropertyReleased(EStaticMeshAsyncProperties) [StaticMesh.cpp:3422]
TwinmotionCookedEditor-Win64-Shipping!UStaticMesh::GetBodySetup() [StaticMesh.h:1014]
TwinmotionCookedEditor-Win64-Shipping!UPhysicsManager::enableCollision(UResourceMeshBase *) [PhysicsManager.cpp:409]
TwinmotionCookedEditor-Win64-Shipping!UPhysicsManager::enableCollisionOnSelection() [PhysicsManager.cpp:479]
TwinmotionCookedEditor-Win64-Shipping!UPhysicsManager::startGravitySimulation(UPhysicsManager::EActivationType) [PhysicsManager.cpp:79]
TwinmotionCookedEditor-Win64-Shipping!UWToolbarTransform::toggleGravity() [WToolbarTransform.cpp:197]
TwinmotionCookedEditor-Win64-Shipping!UFunction::Invoke(UObject *,FFrame &,void * const) [Class.cpp:6665]
TwinmotionCookedEditor-Win64-Shipping!UObject::ProcessEvent(UFunction *,void *) [ScriptCore.cpp:2145]
TwinmotionCookedEditor-Win64-Shipping!TMulticastScriptDelegate<FNotThreadSafeDelegateMode>::ProcessMulticastDelegate<UObject>(void *) [ScriptDelegates.h:900]
TwinmotionCookedEditor-Win64-Shipping!UButton::SlateHandleClicked() [Button.cpp:264]
TwinmotionCookedEditor-Win64-Shipping!TBaseUObjectMethodDelegateInstance<0,UButton,FReply ,FDefaultDelegateUserPolicy>::Execute() [DelegateInstancesImpl.h:650]
TwinmotionCookedEditor-Win64-Shipping!SButton::ExecuteOnClick() [SButton.cpp:465]
TwinmotionCookedEditor-Win64-Shipping!SButton::OnMouseButtonUp(FGeometry const &,FPointerEvent const &) [SButton.cpp:390]
TwinmotionCookedEditor-Win64-Shipping!static class FReply FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,`FSlateApplication::RoutePointerUpEvent'::`8'::<lambda_1> >(class FSlateApplication *, class FEventRouter::FToLeafmostPolicy, struct FPointerEvent, const class FSlateApplication::RoutePointerUpEvent::__l8::<lambda_1> & const, ESlateDebuggingInputEvent) [SlateApplication.cpp:442]
TwinmotionCookedEditor-Win64-Shipping!FSlateApplication::RoutePointerUpEvent(FWidgetPath const &,FPointerEvent const &) [SlateApplication.cpp:5216]
TwinmotionCookedEditor-Win64-Shipping!FSlateApplication::ProcessMouseButtonUpEvent(FPointerEvent const &) [SlateApplication.cpp:5785]
TwinmotionCookedEditor-Win64-Shipping!FSlateApplication::OnMouseUp(EMouseButtons::Type,UE::Math::TVector2<double>) [SlateApplication.cpp:5750]
TwinmotionCookedEditor-Win64-Shipping!FWindowsApplication::ProcessDeferredMessage(FDeferredWindowsMessage const &) [WindowsApplication.cpp:2228]
TwinmotionCookedEditor-Win64-Shipping!FWindowsApplication::DeferMessage(TSharedPtr<FWindowsWindow,1> &,HWND__ *,unsigned int,unsigned _int64,_int64,int,int,unsigned int) [WindowsApplication.cpp:2735]
TwinmotionCookedEditor-Win64-Shipping!FWindowsApplication::ProcessMessage(HWND__ *,unsigned int,unsigned _int64,_int64) [WindowsApplication.cpp:1096]
TwinmotionCookedEditor-Win64-Shipping!FWindowsApplication::AppWndProc(HWND__ *,unsigned int,unsigned _int64,_int64) [WindowsApplication.cpp:934]
USER32!7ff8faab0000 + 18961
USER32!7ff8faab0000 + 18421
TwinmotionCookedEditor-Win64-Shipping!FWindowsPlatformApplicationMisc::PumpMessages(bool) [WindowsPlatformApplicationMisc.cpp:150]
TwinmotionCookedEditor-Win64-Shipping!FEngineLoop::Tick() [LaunchEngineLoop.cpp:5768]
TwinmotionCookedEditor-Win64-Shipping!GuardedMain(wchar_t const *) [Launch.cpp:188]
TwinmotionCookedEditor-Win64-Shipping!GuardedMainWrapper(wchar_t const *) [LaunchWindows.cpp:118]
TwinmotionCookedEditor-Win64-Shipping!LaunchWindowsStartup(HINSTANCE__ *,HINSTANCE__ *,char *,int,wchar_t const *) [LaunchWindows.cpp:258]
TwinmotionCookedEditor-Win64-Shipping!WinMain [LaunchWindows.cpp:299]
TwinmotionCookedEditor-Win64-Shipping!static int __scrt_common_main_seh() [exe_common.inl:288]
KERNEL32!7ff8faf20000 + 1257d
ntdll!7ff8fca30000 + 5aa48

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention TM-15590 in the post.

0
Login to Vote

Fixed
CreatedMay 4, 2024
ResolvedJun 26, 2024
UpdatedJun 26, 2024
View Jira Issue