DOF Crash loading a map post 4.9 Preview 3 update

Didn’t try this map on prior preview builds but it did load on 4.8.

Scene contains some constrained Cubes. Not much to it! Seems attaching umaps is not permissible but I can rename it… this is not a text file so download and strip the extra stuff off the filename

Final Log:

   [2015.08.12-18.32.22:831][166]LoadErrors: New page: Loading map: TestPhysicsScene.umap
    [2015.08.12-18.32.22:836][166]MapCheck: New page: Map Check
    [2015.08.12-18.32.22:837][166]LightingResults: New page: Lighting Build
    [2015.08.12-18.32.22:874][166]LogParticles: Destroying 0 GPU particle simulations for FXSystem 0x000000001F715BC0
    [2015.08.12-18.32.22:886][166]LogAIModule: Creating AISystem for world TestPhysicsScene
    Assertion failed: 0 [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.9\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodyInstance.cpp] [Line: 538] 

Code:

FVector FBodyInstance::GetLockedAxis() const
{
	EDOFMode::Type MyDOFMode = ResolveDOFMode(DOFMode);

	switch (MyDOFMode)
	{
	case EDOFMode::None: return FVector::ZeroVector;
	case EDOFMode::YZPlane: return FVector(1, 0, 0);
	case EDOFMode::XZPlane: return FVector(0, 1, 0);
	case EDOFMode::XYPlane: return FVector(0, 0, 1);
	case EDOFMode::CustomPlane: return CustomDOFPlaneNormal;
	case EDOFMode::SixDOF: return FVector::ZeroVector;
	default:	check(0);	//unsupported locked axis type
	}

Recent callstack:

>	UE4Editor-Engine.dll!FBodyInstance::GetLockedAxis() Line 538	C++
 	UE4Editor-Engine.dll!FBodyInstance::CreateDOFLock() Line 561	C++
 	UE4Editor-Engine.dll!FBodyInstance::InitDynamicProperties_AssumesLocked() Line 4532	C++
 	UE4Editor-Engine.dll!FInitBodiesHelper<0>::AddActorsToScene_PhysX_AssumesLocked(TArray<physx::PxActor *,FDefaultAllocator> & PSyncActors, TArray<physx::PxActor *,FDefaultAllocator> & PAsyncActors, TArray<physx::PxActor *,FDefaultAllocator> & PDynamicActors, physx::PxScene * PDyanmicScene) Line 1362	C++
 	UE4Editor-Engine.dll!FInitBodiesHelper<0>::InitBodies_PhysX() Line 1392	C++
 	UE4Editor-Engine.dll!FBodyInstance::InitBody(UBodySetup * Setup, const FTransform & Transform, UPrimitiveComponent * PrimComp, FPhysScene * InRBScene, physx::PxAggregate * InAggregate) Line 1599	C++
 	UE4Editor-Engine.dll!UPrimitiveComponent::CreatePhysicsState() Line 483	C++
 	UE4Editor-Engine.dll!UActorComponent::ExecuteRegisterEvents() Line 1052	C++
 	UE4Editor-Engine.dll!UActorComponent::RegisterComponentWithWorld(UWorld * InWorld) Line 825	C++
 	UE4Editor-Engine.dll!AActor::IncrementalRegisterComponents(int NumComponentsToRegister) Line 3618	C++

Hey -

I tried to add your map to a preview project but couldn’t open it. Double clicking on the map gave me a error about three assets it couldn’t find (BP_Camera, TestPhysicBlock, and CounterMaterial_Inst). These assets may be corrupting the level in some way and if possible you may want to try removing these assets from the project temporarily then try opening the map again.

Cheers