Saving file - Render Texture

Hi,

I am trying to connect Unity with Matlab. As a first approach I am using text files to communicate them. Unity read a file where a camera pose is written. What i do in unity is to translate the camera and use RenderTexture to get the image to save it in a new file. The problem is that this is not happening. Unity only writes the image when I stop playing Unity. Do you have any idea why this is happening?

Thank you very much
Anto.

Code? It should easily be possible to force Unity to update a file at some regular frequency

It’s also worth noting that there are more direct ways to communicate between software that don’t require constant reading and writing to the harddrive.

Yea, would need to see code. I do something similar on a regular basis, outputting multiple images from a render to disk, and have no problems. It’s very doable.