When importing the attached FBX file with only Animations, the editor will crash. The Same asset will import without error in 4.9.2
Crash Reporter BUGG: [Link Removed]
RESULTS: CRASH
EXPECTED: Import of Animation contained in FBX
Access violation - code c0000005 (first/second chance not available) libfbxsdk!<Unknown> libfbxsdk!<Unknown> libfbxsdk!<Unknown> UE4Editor_UnrealEd!ApplyUnroll() skeletalmeshedit.cpp:244 UE4Editor_UnrealEd!ApplyUnroll() skeletalmeshedit.cpp:246 UE4Editor_UnrealEd!ApplyUnroll() skeletalmeshedit.cpp:246 UE4Editor_UnrealEd!ApplyUnroll() skeletalmeshedit.cpp:246 UE4Editor_UnrealEd!ApplyUnroll() skeletalmeshedit.cpp:246 UE4Editor_UnrealEd!ApplyUnroll() skeletalmeshedit.cpp:246 UE4Editor_UnrealEd!ApplyUnroll() skeletalmeshedit.cpp:246 UE4Editor_UnrealEd!ApplyUnroll() skeletalmeshedit.cpp:246 UE4Editor_UnrealEd!ApplyUnroll() skeletalmeshedit.cpp:246 UE4Editor_UnrealEd!ApplyUnroll() skeletalmeshedit.cpp:246 UE4Editor_UnrealEd!UnFbx::FFbxImporter::MergeAllLayerAnimation() skeletalmeshedit.cpp:263 UE4Editor_UnrealEd!UnFbx::FFbxImporter::ValidateAnimStack() skeletalmeshedit.cpp:638 UE4Editor_UnrealEd!UnFbx::FFbxImporter::ImportAnimations() skeletalmeshedit.cpp:506 UE4Editor_UnrealEd!UEditorEngine::ImportFbxAnimation() skeletalmeshedit.cpp:74 UE4Editor_UnrealEd!UFbxFactory::FactoryCreateBinary() fbxfactory.cpp:469 UE4Editor_UnrealEd!UFactory::StaticImportObject() factory.cpp:312 UE4Editor_AssetTools!FAssetTools::ImportAssets() assettools.cpp:918 UE4Editor_AssetTools!FAssetTools::ImportAssets() assettools.cpp:537 UE4Editor_ContentBrowser!SContentBrowser::ImportAsset() scontentbrowser.cpp:744 UE4Editor_ContentBrowser!SContentBrowser::HandleImportClicked() scontentbrowser.cpp:735 UE4Editor_ContentBrowser!TMemberFunctionCaller<SContentBrowser,FReply() delegateinstanceinterface_variadics.h:161 UE4Editor_ContentBrowser!TTupleImpl<TIntegerSequence<> >::ApplyAfter_ExplicitReturnType<FReply,TMemberFunctionCaller<SContentBrowser,FReply() tuple.h:113 UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,FReply __cdecl() delegateinstancesimpl_variadics.inl:282 UE4Editor_Slate!TBaseDelegate<FReply>::Execute() delegatesignatureimpl_variadics.inl:440 UE4Editor_Slate!SButton::OnMouseButtonUp() sbutton.cpp:236 UE4Editor_Slate!<lambda_4ba5b0c116ad939f50a9b616659f063a>::operator() slateapplication.cpp:4276 UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_4ba5b0c116ad939f50a9b616659f063a> >() slateapplication.cpp:214 UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:4266 UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:4663 UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:4641 UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1404 UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:1709 UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:707 UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:629 user32!<Unknown> user32!<Unknown> UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:884 UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2391 UE4Editor!GuardedMain() launch.cpp:142 UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 UE4Editor!WinMain() launchwindows.cpp:200 UE4Editor!__scrt_common_main_seh() exe_common.inl:264 kernel32!<Unknown> ntdll!<Unknown>
229 FbxAnimCurve* lRCurve[3]; 230 lRCurve[0] = lCN->GetCurve(0); 231 lRCurve[1] = lCN->GetCurve(1); 232 lRCurve[2] = lCN->GetCurve(2); 233 234 235 // Set bone rotation order 236 EFbxRotationOrder RotationOrder = eEulerXYZ; 237 pNode->GetRotationOrder(FbxNode::eSourcePivot, RotationOrder); 238 pUnrollFilter->SetRotationOrder((FbxEuler::EOrder)(RotationOrder*2)); 239 240 pUnrollFilter->Apply(lRCurve, 3); 241 } 242 243 ***** for (int32 i = 0; i < pNode->GetChildCount(); i++) 244 { 245 ApplyUnroll(pNode->GetChild(i), pLayer, pUnrollFilter); 246 } 247 } 248 249 void UnFbx::FFbxImporter::MergeAllLayerAnimation(FbxAnimStack* AnimStack, int32 ResampleRate) 250 { 251 FbxTime lFramePeriod; 252 lFramePeriod.SetSecondDouble(1.0 / ResampleRate); 253 254 FbxTimeSpan lTimeSpan = AnimStack->GetLocalTimeSpan(); 255 AnimStack->BakeLayers(Scene->GetAnimationEvaluator(), lTimeSpan.GetStart(), lTimeSpan.GetStop(), lFramePeriod); 256 257 // always apply unroll filter 258 FbxAnimCurveFilterUnroll UnrollFilter;
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Fix Commit | 2843242 |
---|
Created | Nov 16, 2015 |
---|---|
Resolved | Feb 8, 2016 |
Updated | Feb 4, 2019 |