Description

This is a common and longstanding crash that has occurred since at least 4.12 and affected more than 400 users.

User Descriptions

  • Was following the first Blueprint tutorial and dragged the geometry component "Base" on top of scene component "Root" after having undone the action of placing "Root" on top of "Base", as the tutorial described doing the latter action but seemed to be the result of performing the former action.
  • I tried to make existing camera component of pawn a child object of spring joint via mouse drag & drop
  • I was going through the basic tutorial on how to create a brazier.
  • Um. Tried to add an actor to a root, I think I misunderstood the tutorial. Too tired. Sorry. LOL
  • Was trying to parent an object to another object in the world outliner. Crashed for no apparent reason.
  • Im new to the engine. Tried to make a scene root component with two children mesh. Header: UPROPERTY(EditAnywhere) USceneComponent *S_Root; UPROPERTY(EditAnywhere) UStaticMeshComponent *SM_BaseMesh; UPROPERTY(EditAnywhere) UStaticMeshComponent *SM_BaseMesh2; Code in constructor: S_Root = CreateDefaultSubobject<USceneComponent>(TEXT("TerrainRoot")); this->RootComponent = S_Root; SM_BaseMesh = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("DatMesh")); SM_BaseMesh2 = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("DatMesh2")); SM_BaseMesh->AttachTo(this->RootComponent); SM_BaseMesh2->AttachTo(this->RootComponent); Then I hit compile in editor and it crashed.
  • I was doing the Actor Tutorial (the first one) where you make a brazier. I had somehow made "Top" the parent and "Root" the child. So I hit undo and was then attempting to attach the cone named "Top" to the "Root" in the same way that I had attached "Base" to "Root." I had just dropped "Root" on the one named "Top" when it crashed.
  • Learning to use UE. "making Root the new root". I don't remember witch leason it was.
  • I tried following what the first blueprint tutorial asked of me, which was to drag the Scene component Root into the "Base" (Cone) component to make Base a child of the Root component. Seeing as the opposite happened (Root became a child of Base), I tried dragging Base into Root and the world exploded

Source Context

 519       	{
  520       		//QUICK_SCOPE_CYCLE_COUNTER(STAT_USceneComponent_UpdateComponentToWorldWithParent_XForm);
  521       		// Calculate the new ComponentToWorld transform
  522       		const FTransform RelativeTransform(RelativeRotationQuat, RelativeLocation, RelativeScale3D);
  523       #if ENABLE_NAN_DIAGNOSTIC
  524       		if (!RelativeTransform.IsValid())
  525       		{
  526       			logOrEnsureNanError(TEXT("USceneComponent:UpdateComponentToWorldWithParent found NaN/INF in new RelativeTransform: %s"), *RelativeTransform.ToString());
  527       		}
  528       #endif
  529 ***** 		NewTransform = CalcNewComponentToWorld(RelativeTransform, Parent, SocketName);
  530       	}
Steps to Reproduce

REPRO WITH CAMERA ACTOR AND CAMERA RIG:

  1. Open QAGame in editor.
  2. Add a Cine Camera Actor and a Camera Rig Rail to the level.
  3. In the World Outliner, nest the Camera Actor under the Camera Rig.
  4. Nest the Camera Actor back under the level.
  5. Nest the Camera Rig under the Camera Actor.
  6. Undo everything.

RESULT

Crash.

Callstack
Stack overflow - code c00000fd (first/second chance not available)

UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:492]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorldWithParent() [scenecomponent.cpp:553]
UE4Editor_Engine!USceneComponent::UpdateComponentToWorld() [scenecomponent.h:787]
UE4Editor_Engine!USceneComponent::UpdateChildTransforms() [scenecomponent.cpp:2145]
UE4Editor_Engine!USceneComponent::PropagateTransformUpdate() [scenecomponent.cpp:698]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay - Components
Affects Versions4.124.134.154.164.174.184.194.214.22
Target Fix4.26
Fix Commit13578235
Main Commit13686746
CreatedAug 29, 2017
ResolvedMay 29, 2020
UpdatedJul 30, 2020
View Jira Issue