4.20 Cloth crash memory

Crash that happens randomly when the level starts in the editor on 4.20.

**LoginId:xxx
EpicAccountId:xxx

Fatal error: [File:D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 193] Ran out of memory allocating 25769803776 bytes with alignment 16

KERNELBASE
UE4Editor_ApplicationCore
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
NvClothPROFILE_x64!physx::shdfnd::Array::growAndPushBack() [d:\build++ue4+release-4.20+physx_compile\sync\engine\source\thirdparty\physx3\pxshared\src\foundation\include\psarray.h:760]
NvClothPROFILE_x64!nv::cloth::ClothGeodesicTetherCooker::createTetherData() [d:\build++ue4+release-4.20+physx_compile\sync\engine\source\thirdparty\physx3\nvcloth\extensions\src\clothgeodesictethercooker.cpp:548]
NvClothPROFILE_x64!nv::cloth::FabricCookerImpl::cook() [d:\build++ue4+release-4.20+physx_compile\sync\engine\source\thirdparty\physx3\nvcloth\extensions\src\clothfabriccooker.cpp:601]
NvClothPROFILE_x64!NvClothCookFabricFromMesh() [d:\build++ue4+release-4.20+physx_compile\sync\engine\source\thirdparty\physx3\nvcloth\extensions\src\clothfabriccooker.cpp:719]
UE4Editor_ClothingSystemRuntime
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll

Please help with this.

I have found the problem. The problem is an asset I bought from the store.

The problem isn’t with an asset that was bought from the store (as mentioned in the previous answer) - it’s definitely an engine problem.

Our characters were working fine in 4.19, but in 4.20 I’m getting frequent editor crashes with the same data, all of which relate to cloth array allocation :

        [2018.10.19-10.06.58:517][969]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION writing address 0x2c794afc
        [2018.10.19-10.06.58:517][969]LogWindows: Error: 
        [2018.10.19-10.06.58:517][969]LogWindows: Error: [Callstack] 0x00007ffba9d172d5 NvClothPROFILE_x64.dll!physx::shdfnd::Array<nv::cloth::`anonymous namespace'::VertexDistanceCount,nv::cloth::NonTrackingAllocator>::growAndPushBack() [d:\bs_engint\ue4source\engine\source\thirdparty\physx3\pxshared\src\foundation\include\psarray.h:766]
        [2018.10.19-10.06.58:517][969]LogWindows: Error: [Callstack] 0x00007ffba9d25900 NvClothPROFILE_x64.dll!nv::cloth::ClothGeodesicTetherCooker::createTetherData() [d:\bs_engint\ue4source\engine\source\thirdparty\physx3\nvcloth\extensions\src\clothgeodesictethercooker.cpp:548]
        [2018.10.19-10.06.58:517][969]LogWindows: Error: [Callstack] 0x00007ffba9d230c5 NvClothPROFILE_x64.dll!nv::cloth::FabricCookerImpl::cook() [d:\bs_engint\ue4source\engine\source\thirdparty\physx3\nvcloth\extensions\src\clothfabriccooker.cpp:601]

The callstack is long,so I’ve snipped the middle out, but this is where it originates:

[2018.10.19-10.06.58:517][969]LogWindows: Error: [Callstack] 0x00007ffbb8e77234 UE4Editor-Engine.dll!UWorld::InitializeActorsForPlay() [d:\p4\engineintegration\ue4source\engine\source\runtime\engine\private\world.cpp:3557]
[2018.10.19-10.06.58:517][969]LogWindows: Error: [Callstack] 0x00007ffbb825ad56 UE4Editor-Engine.dll!UGameInstance::StartPlayInEditorGameInstance() [d:\p4\engineintegration\ue4source\engine\source\runtime\engine\private\gameinstance.cpp:368]