batchmode and renderToCubemap

I am doing camera.RenderToCubemap in my unity application. It works fine when I run in the editor, however, when I run it in batch mode it returns false and fails to render. I have forward rendering… any ideas what might be happening ? Is this even possible (to render to cubemap while in batchmode) ?

Did you solve?