diff --git a/cocos/physics/physx/physx-adapter.ts b/cocos/physics/physx/physx-adapter.ts index d6caf0be551..56db9bc525c 100644 --- a/cocos/physics/physx/physx-adapter.ts +++ b/cocos/physics/physx/physx-adapter.ts @@ -811,11 +811,7 @@ export function initializeWorld (world: any): void { const allocator = new PX.PxDefaultAllocator(); const defaultErrorCallback = new PX.PxDefaultErrorCallback(); const foundation = PhysXInstance.foundation = PX.PxCreateFoundation(version, allocator, defaultErrorCallback); - if (DEBUG) { - PhysXInstance.pvd = PX.PxCreatePvd(foundation); - } else { - PhysXInstance.pvd = null; - } + PhysXInstance.pvd = null; const scale = new PX.PxTolerancesScale(); PhysXInstance.physics = PX.physics = PX.PxCreatePhysics(version, foundation, scale, false, PhysXInstance.pvd); PhysXInstance.cooking = PX.PxCreateCooking(version, foundation, new PX.PxCookingParams(scale)); diff --git a/native/external-config.json b/native/external-config.json index bfb8870c10e..22ac6e57caf 100644 --- a/native/external-config.json +++ b/native/external-config.json @@ -3,6 +3,6 @@ "type": "github", "owner": "cocos-creator", "name": "engine-native-external", - "checkout": "v3.8.2-12" + "checkout": "v3.8.2-13" } } \ No newline at end of file