Panda PhysX

Ok, I’ve checked my code but I’m not calling remove twice. Anyway, I tried it on one of the samples, 03_Forces. I only added one line to the doScreenshot event:

It creates only one screenshot file, which means its only being called once, unless I don’t know of something that keeps it from making another, but its still giving me the same error. Can you check if it does the same for you. Any other ideas?