Download

Crash In Runtime with PacageGame

I Want to Import fbx file At Runtime, I Just Do This ,And It Runs Fine WithEditor,But Crush In PacageGame,Please Help Me

AActor* actor = Wolrd->SpawnActor
UStaticComponent * pCom = …
UStaticMesh *pMesh = NewObject

pMesh->BodySetup->CollisionTraceFlag = CTF_UseComplexAsSimple
pMesh->bAllowCpuAccess = true
pCom->SetStaticMesh(pMesh)

Not EveryTime It Crash , Big Fbx Crash with more possibility

Thanks :slight_smile: