Here is log when it begun to print the errors (and a bit before):
2022-12-09 09:43:04 [1,998,317ms] [Info] [omni.kit.app._impl] [py stdout]: Contact position: (-646.865,108.367,-544.249)
2022-12-09 09:43:04 [1,998,317ms] [Info] [omni.kit.app._impl] [py stdout]: Contact normal: (-0.00172305,0.999998,-0.000315579)
2022-12-09 09:43:04 [1,998,317ms] [Info] [omni.kit.app._impl] [py stdout]: Contact impulse: (-0,0,-0)
2022-12-09 09:43:04 [1,998,317ms] [Info] [omni.kit.app._impl] [py stdout]: Contact separation: 1.060901013261173e-05
2022-12-09 09:43:04 [1,998,317ms] [Info] [omni.kit.app._impl] [py stdout]: Contact faceIndex0: 0
2022-12-09 09:43:04 [1,998,317ms] [Info] [omni.kit.app._impl] [py stdout]: Contact faceIndex1: 0
2022-12-09 09:43:04 [1,998,317ms] [Info] [omni.kit.app._impl] [py stdout]: Contact material0:
2022-12-09 09:43:04 [1,998,317ms] [Info] [omni.kit.app._impl] [py stdout]: Contact material1:
2022-12-09 09:43:04 [1,998,317ms] [Info] [omni.kit.app._impl] [py stdout]: Contact:
2022-12-09 09:43:04 [1,998,317ms] [Error] [carb.physx.python] OSError: [Errno 22] Invalid argument
At:
c:/users/fablab/appdata/local/ov/pkg/code-2022.3.0/kit/kernel/py\omni\kit\app\_impl\__init__.py(137): write
c:\users\fablab\appdata\local\ov\pkg\code-2022.3.0\kit\extsphysics\omni.physx.demos-104.0.4-5.1\omni\physxdemos\scenes\ContactReportImmediateAPIDemo.py(106): _on_physics_step
As you can see it’s pretty normal then suddenly it crashes and it does it until I re launch Code.
To give a bit more context of what’s happening:
It generally happens when I switch between scenes, mostly the Demo scene of the immediate report API, here I went to the said scene, to understand why objects aren’t reporting, to see what’s different, and then I go back to my main scene and suddenly, without doing much, it happens. In the video we see a rigid body with the collider being a convex hull, but it happens to with a boundary cube and others, and with more or less complex meshes.