x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Actors calling USceneComponent::AttachTo() can crash Editor on startup or runtime

Call stack:

 MachineId:CC30197744A50CF7CBB742B7DDD15483
 EpicAccountId:43c9decb80d4418db4419dda7b377651
 
 Access violation - code c0000005 (first/second chance not available)
 
 ""
 
 UE4Editor_Engine!USkeletalMeshComponent::UpdateKinematicBonesToAnim() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\physicsengine\physanim.cpp:580]
 UE4Editor_Engine!USkeletalMeshComponent::OnUpdateTransform() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\skeletalmeshcomponentphysics.cpp:1358]
 UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\components\scenecomponent.cpp:420]
 UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\components\scenecomponent.cpp:357]
 UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\components\scenecomponent.cpp:400]
 UE4Editor_Engine!USceneComponent::AttachTo() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\components\scenecomponent.cpp:1357]
 UE4Editor_Engine!USceneComponent::K2_AttachTo() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\components\scenecomponent.cpp:1152]
 UE4Editor_Engine!USceneComponent::execK2_AttachTo() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\classes\components\scenecomponent.h:91]
 UE4Editor_CoreUObject!UFunction::Invoke() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\class.cpp:4198]
 UE4Editor_CoreUObject!UObject::CallFunction() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:484]
 UE4Editor_CoreUObject!UObject::ProcessContextOpcode() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1755]
 UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:698]
 UE4Editor_CoreUObject!UObject::CallFunction() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:608]
 UE4Editor_CoreUObject!UObject::execVirtualFunction() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1842]
 UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:698]
 UE4Editor_CoreUObject!UObject::CallFunction() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:608]
 UE4Editor_CoreUObject!UObject::execVirtualFunction() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1842]
 UE4Editor_CoreUObject!UObject::ProcessContextOpcode() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1755]
 UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:698]
 UE4Editor_CoreUObject!UObject::CallFunction() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:608]
 UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:698]
 UE4Editor_CoreUObject!UFunction::Invoke() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\class.cpp:4198]
 UE4Editor_CoreUObject!UObject::ProcessEvent() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1053]
 UE4Editor_Engine!AActor::ProcessEvent() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\actor.cpp:580]
 UE4Editor_Engine!AActor::ProcessUserConstructionScript() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\actorconstruction.cpp:539]
 UE4Editor_Engine!AActor::ExecuteConstruction() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\actorconstruction.cpp:487]
 UE4Editor_Engine!AActor::RerunConstructionScripts() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\actorconstruction.cpp:366]
 UE4Editor_Engine!AActor::PostEditChangeProperty() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\actoreditor.cpp:118]
 UE4Editor_Engine!AActor::SetActorLabelInternal() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\actoreditor.cpp:712]
 UE4Editor_UnrealEd!FActorLabelUtilities::SetActorLabelUnique() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\editorengine.cpp:6394]
 UE4Editor_UnrealEd!UActorFactory::PostSpawnActor() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\factories\actorfactory.cpp:253]
 UE4Editor_UnrealEd!UActorFactory::CreateActor() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\factories\actorfactory.cpp:213]
 UE4Editor_UnrealEd!PrivateAddActor() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\assetselection.cpp:471]
 UE4Editor_UnrealEd!FActorFactoryAssetProxy::AddActorForAsset() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\assetselection.cpp:684]
 UE4Editor_UnrealEd!AttemptDropObjAsActors() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\leveleditorviewport.cpp:261]
 UE4Editor_UnrealEd!FLevelEditorViewportClient::DropObjectsOnActor() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\leveleditorviewport.cpp:868]
 UE4Editor_UnrealEd!FLevelEditorViewportClient::DropObjectsAtCoordinates() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\leveleditorviewport.cpp:1297]
 UE4Editor_LevelEditor!SLevelViewport::HandlePlaceDraggedObjects() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\leveleditor\private\slevelviewport.cpp:776]
 UE4Editor_LevelEditor!SLevelViewport::OnDragEnter() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\leveleditor\private\slevelviewport.cpp:443]
 UE4Editor_Slate!<lambda_c74ed8246a23d9f4f1228760fad442cf>::operator()() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4488]
 UE4Editor_Slate!FEventRouter::Route<FNoReply,FEventRouter::FBubblePolicy,FDragDropEvent,<lambda_c74ed8246a23d9f4f1228760fad442cf> >() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:214]
 UE4Editor_Slate!FSlateApplication::RoutePointerMoveEvent() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4482]
 UE4Editor_Slate!FSlateApplication::ProcessMouseMoveEvent() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4817]
 UE4Editor_Slate!FSlateApplication::OnMouseMove() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4769]
 UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\windows\windowsapplication.cpp:1451]
 UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\windows\windowsapplication.cpp:1709]
 UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\windows\windowsapplication.cpp:707]
 UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\windows\windowsapplication.cpp:629]
 user32
 user32
 UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:884]
 UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\launchengineloop.cpp:2391]
 UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\launch.cpp:142]
 UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
 UE4Editor!WinMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
 UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
 kernel32
 ntdll
 
Product Version: UE 4.10
Tags:
more ▼

asked Nov 12 '15 at 06:58 PM in Bug Reports

avatar image

Stormwind
56 1 4 7

avatar image Stormwind Nov 12 '15 at 07:05 PM

The code around physanip.cpp line 580 in void USkeletalMeshComponent::UpdateKinematicBonesToAnim(const TArray& InSpaceBases, ETeleportType Teleport, bool bNeedsSkinning):

(Looks like either PRigidDynamic is nullptr and being dereferenced or ensure(PNewPose.isValid()) is failing.

                         // If kinematic and not teleporting, set kinematic target
                         PxRigidDynamic* PRigidDynamic = BodyInst->GetPxRigidDynamic_AssumesLocked();
                         if (!IsRigidBodyNonKinematic_AssumesLocked(PRigidDynamic) && !bTeleport)
                         {
                             PhysScene->SetKinematicTarget_AssumesLocked(BodyInst, BoneTransform, true);
                         }
                         // Otherwise, set global pose
                         else
                         {
                             const PxTransform PNewPose = U2PTransform(BoneTransform);
                             ensure(PNewPose.isValid());
                             PRigidDynamic->setGlobalPose(PNewPose);
                         }
(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I created a pull request on Github with the fix: https://github.com/EpicGames/UnrealEngine/pull/1751

more ▼

answered Nov 12 '15 at 11:28 PM

avatar image

Stormwind
56 1 4 7

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question