Closed alper111 closed 1 year ago
I can confirm I also get this error running the script, still see the collision shape pressing w.
Eventually the GPU/OpenGL will run out of memory, we don't handle this case. Try running separate instances of the simulation in different threads/processes instead.
I dived deeper into the problem and to my findings instead of using the information already existing about the object in the buffer with every iteration the buffer kept growing. I couldn't really clear myself if it was growing out of adding vertex information, some indexing error or some metadata of each object. It was some time ago and let it on the side but I could come back to it and provide more detailed information.
But for this case the warning Buffer Limit would help the user to know.
What I am doing: I am repeating the following cycle: (1) load an object from a URDF file, (2) interact with it with a robot, (3) then delete it. Problem: After iteration number 125 (after creating and removing the object 125 times), the object visual is not shown. However, I can see the collision shape by pressing
w
, and I can interact with the object with the cursor. No problem if: There is no problem if I load the URDF once and reset its position. Expectation: The visual of the object would not be affected by the number of load/removal times. Recording of the mentioned effect: https://youtu.be/4bPfYZ6zjK8 Sample code: