How to resolve this error: "Patch buffer overflow detected"

When I ran isaac sim with a big number of environments (for RL applications), I got the following error:

2023-12-18 22:58:33 [75,794ms] [Error] [omni.physx.plugin] PhysX error: Patch buffer overflow detected, please increase its size to at least 272000 in the scene desc!                                     
, FILE /buildAgent/work/74336105e89c4a74/source/gpunarrowphase/src/PxgNarrowphaseCore.cpp, LINE 1240

Which parameter should I set to increase this buffer?

just wanna bump this up to see if anyone has a clue on this issue.

@xt02348 i could be wrong, but i think it’s the GPU Max Rigid Patch Count param in your PhysicsScene property (under GPU):

thanks, this helps!

1 Like

to add, you could use PhysxSchema.PhysxSceneAPI and i think GetGpuCollisionStackSizeAttr().Set() may allow you to do it via python (if not, i am more than happy for the mods/devs to chime in).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.