The Editor is crashing every time I open PIE

Every time I start my game in the PIE mode, the Editor crashes for no apparent reason. The logs didn’t tell me much, just output a bunch of weird dynamic link libraries.

This is the crash message:

[2019.09.17-18.45.20:761][619]LogWindows: Error: === Critical error: ===
[2019.09.17-18.45.20:761][619]LogWindows: Error: 
[2019.09.17-18.45.20:761][619]LogWindows: Error: Fatal error!
[2019.09.17-18.45.20:761][619]LogWindows: Error: 
[2019.09.17-18.45.20:761][619]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION writing address 0x0dc5e440
[2019.09.17-18.45.20:761][619]LogWindows: Error: 
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffbd87272d5 NvClothPROFILE_x64.dll!physx::shdfnd::Array<nv::cloth::`anonymous namespace'::VertexDistanceCount,nv::cloth::NonTrackingAllocator>::growAndPushBack() [d:\build\++fortnite\sync\engine\source\thirdparty\physx3\pxshared\src\foundation\include\psarray.h:766]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffbd8735900 NvClothPROFILE_x64.dll!nv::cloth::ClothGeodesicTetherCooker::createTetherData() [d:\build\++fortnite\sync\engine\source\thirdparty\physx3\nvcloth\extensions\src\clothgeodesictethercooker.cpp:548]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffbd87330c5 NvClothPROFILE_x64.dll!nv::cloth::FabricCookerImpl::cook() [d:\build\++fortnite\sync\engine\source\thirdparty\physx3\nvcloth\extensions\src\clothfabriccooker.cpp:601]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffbd8731668 NvClothPROFILE_x64.dll!NvClothCookFabricFromMesh() [d:\build\++fortnite\sync\engine\source\thirdparty\physx3\nvcloth\extensions\src\clothfabriccooker.cpp:719]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffc121fe476 UE4Editor-ClothingSystemRuntime.dll!FClothingSimulationNv::CreateActor() [d:\build\++ue4\sync\engine\source\runtime\clothingsystemruntime\private\clothingsimulationnv.cpp:157]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffc01a4aef3 UE4Editor-Engine.dll!USkeletalMeshComponent::RecreateClothingActors() [d:\build\++ue4\sync\engine\source\runtime\engine\private\skeletalmeshcomponentphysics.cpp:2345]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffc01064cfd UE4Editor-Engine.dll!UActorComponent::ExecuteRegisterEvents() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:1283]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffc0108aa71 UE4Editor-Engine.dll!UActorComponent::RegisterComponentWithWorld() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:1020]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffc00cfe831 UE4Editor-Engine.dll!AActor::IncrementalRegisterComponents() [d:\build\++ue4\sync\engine\source\runtime\engine\private\actor.cpp:4355]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffc0150981b UE4Editor-Engine.dll!ULevel::IncrementalUpdateComponents() [d:\build\++ue4\sync\engine\source\runtime\engine\private\level.cpp:967]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffc01deec90 UE4Editor-Engine.dll!UWorld::UpdateWorldComponents() [d:\build\++ue4\sync\engine\source\runtime\engine\private\world.cpp:1723]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffc01dcd8cb UE4Editor-Engine.dll!UWorld::InitializeActorsForPlay() [d:\build\++ue4\sync\engine\source\runtime\engine\private\world.cpp:3806]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffc0132981a UE4Editor-Engine.dll!UGameInstance::StartPlayInEditorGameInstance() [d:\build\++ue4\sync\engine\source\runtime\engine\private\gameinstance.cpp:381]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffbfd21be44 UE4Editor-UnrealEd.dll!UEditorEngine::CreatePIEGameInstance() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\playlevel.cpp:3341]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffbfd23b044 UE4Editor-UnrealEd.dll!UEditorEngine::PlayInEditor() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\playlevel.cpp:2466]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffbfd25319f UE4Editor-UnrealEd.dll!UEditorEngine::StartQueuedPlayMapRequest() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\playlevel.cpp:1280]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffbfcd2fc4a UE4Editor-UnrealEd.dll!UEditorEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorengine.cpp:1532]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffbfd54d396 UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:403]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ff7141e6bb1 UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3967]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ff7141f554c UE4Editor.exe!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:168]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ff7141f55ca UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ff71420316c UE4Editor.exe!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:275]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ff714205b8e UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffc46077974 KERNEL32.DLL!UnknownFunction []
[2019.09.17-18.45.20:761][619]LogWindows: Error: [Callstack] 0x00007ffc4866a271 ntdll.dll!UnknownFunction []
[2019.09.17-18.45.20:761][619]LogWindows: Error: 
[2019.09.17-18.45.20:779][619]LogExit: Executing StaticShutdownAfterError
[2019.09.17-18.45.20:842][619]LogWindows: FPlatformMisc::RequestExit(1)
[2019.09.17-18.45.20:858][619]Log file closed, 09/17/19 20:45:20