- Home /
SUCCEEDED(hr) and grey captured images?
Hi! i have a simulation that works correctly and fluently when i press play button. The problem appears when i want to capture images of this simulation. I have 3 different cameras in my scene and i want everyone of them to get a screen of my simulation every frame. My script and cameras work fine for the first hundred of frames, but then "SUCCEEDED(hr)" errors appear. The program keeps acquiring images, but they are all grey. Everything seems fine to me, and i can't get where the mistake is. Especially i can't get why if i run my simulation everything works perfectly, but as soon as i catch images, it breaks down.
You most likely did not destroy the massive amount of textures you create and basically run out of memory. Without seeing your code that captures the images we can't help you any further.