/Engine/Source/Runtime/Engine/Public/CustomPhysXPayload.h
This is step 2 of the sync. It's safe to update any Unreal Engine components/actors or trigger callbacks, as long as the code within this function handles it gracefully. For example if a callback destroys some components you will update, make sure to useTWeakObjectPtr
void FinalizeSync()