Description

When a Skeletal Mesh isn't assigned, enabling Per Poly Collision on the Skeletal Mesh Component causes the Editor to crash.

This issue was reported and tested in 4.20.1 (CL-4233996). This issue was reproduced in 4.19.2 (CL-4033788) and Main 4.21 (CL-4299102)

Steps to Reproduce
  1. Open the UE4 Editor and create a blank project
  2. Create a Blueprint Actor
  3. Add a Skeletal Mesh component to the Default Scene Root
  4. Select the Skeletal Mesh component
  5. Set the Collision Preset to Custom
  6. Set the Collision Enabled to Query
  7. Enable Per Poly Collision

Results: Editor crashes

Expected: Editor doesn't crash

Callstack
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc8c5950d8 KERNELBASE.dll!UnknownFunction []
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc753d6850 UE4Editor-ApplicationCore.dll!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowserroroutputdevice.cpp:65]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc3ed662ec UE4Editor-Core.dll!FOutputDevice::LogfImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:70]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc3ecf51cb UE4Editor-Core.dll!FDebug::AssertFailed() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc40c1298b UE4Editor-Engine.dll!USkeletalMeshComponent::CreateBodySetup() [d:\build\++ue4\sync\engine\source\runtime\engine\private\skeletalmeshcomponentphysics.cpp:99]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc40c4904e UE4Editor-Engine.dll!USkeletalMeshComponent::OnCreatePhysicsState() [d:\build\++ue4\sync\engine\source\runtime\engine\private\skeletalmeshcomponentphysics.cpp:1335]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc4009f84f UE4Editor-Engine.dll!UActorComponent::CreatePhysicsState() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:1212]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc3ff58d1d UE4Editor-Engine.dll!FComponentReregisterContextBase::ReRegister() [d:\build\++ue4\sync\engine\source\runtime\engine\public\componentreregistercontext.h:68]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc4009b671 UE4Editor-Engine.dll!UActorComponent::ConsolidatedPostEditChange() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:653]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc401eff37 UE4Editor-Engine.dll!USceneComponent::PostEditChangeProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\scenecomponent.cpp:510]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc4018ce50 UE4Editor-Engine.dll!UPrimitiveComponent::PostEditChangeProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\primitivecomponent.cpp:902]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc401f0113 UE4Editor-Engine.dll!USkeletalMeshComponent::PostEditChangeProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:838]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc3f7cca23 UE4Editor-CoreUObject.dll!UObject::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:444]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc400cbbc6 UE4Editor-Engine.dll!UActorComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:699]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc4018b350 UE4Editor-Engine.dll!UPrimitiveComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\primitivecomponent.cpp:1036]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc4018b0d8 UE4Editor-Engine.dll!UMeshComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\meshcomponent.cpp:113]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc3f7cfe9c UE4Editor-CoreUObject.dll!UObject::PropagatePostEditChange() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:518]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc3f7cbe68 UE4Editor-CoreUObject.dll!UObject::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:411]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc400cbbc6 UE4Editor-Engine.dll!UActorComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:699]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc4018b350 UE4Editor-Engine.dll!UPrimitiveComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\primitivecomponent.cpp:1036]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc4018b0d8 UE4Editor-Engine.dll!UMeshComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\meshcomponent.cpp:113]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc39476976 UE4Editor-PropertyEditor.dll!FPropertyNode::NotifyPostChange() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\propertynode.cpp:2122]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc3946a669 UE4Editor-PropertyEditor.dll!FPropertyValueImpl::ImportText() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:545]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc3946abfd UE4Editor-PropertyEditor.dll!FPropertyValueImpl::ImportText() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:333]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc3946a89e UE4Editor-PropertyEditor.dll!FPropertyValueImpl::ImportText() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:242]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc394b3cca UE4Editor-PropertyEditor.dll!FPropertyHandleBool::SetValue() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:3426]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc395682fe UE4Editor-PropertyEditor.dll!SPropertyEditorBool::OnCheckStateChanged() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\userinterface\propertyeditor\spropertyeditorbool.cpp:79]
[2018.08.20-18.58.49:387][236]LogWindows: Error: [Callstack] 0x00007ffc3954a8b9 UE4Editor-PropertyEditor.dll!TBaseSPMethodDelegateInstance<0,SPropertyEditorBool,0,void __cdecl(enum ECheckBoxState)>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:345]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc3e489ddd UE4Editor-Slate.dll!SCheckBox::OnMouseButtonUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\scheckbox.cpp:190]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc3e2794c5 UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:268]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc3e311db2 UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5472]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc3e2f7c7a UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5979]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc3e2eb25c UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5959]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc753cd1c7 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1736]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc753c0270 UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2182]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc753cf4c5 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:895]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc753bc209 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:732]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc8dc8b85d USER32.dll!UnknownFunction []
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc8dc8b1ef USER32.dll!UnknownFunction []
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc753d0646 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ff79f1b54e5 UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3417]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ff79f1c5b3c UE4Editor.exe!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:166]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ff79f1c5bba UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ff79f1d3dac UE4Editor.exe!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:223]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ff79f1d5aaa UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc8d6d1fe4 KERNEL32.DLL!UnknownFunction []
[2018.08.20-18.58.49:388][236]LogWindows: Error: [Callstack] 0x00007ffc9006cb31 ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-63104 in the post.

1
Login to Vote

Fixed
ComponentPhysics
Affects Versions4.19.24.20.14.21
Target Fix4.21
Fix Commit4435596
Main Commit4450599
Release Commit4435596
CreatedAug 20, 2018
ResolvedOct 8, 2018
UpdatedOct 29, 2018