FFmpegOut icon indicating copy to clipboard operation
FFmpegOut copied to clipboard

Capturing on -batchmode

Open lucantoncich opened this issue 4 years ago • 4 comments

Hey! I've been trying to capture HDRP in batchmode (for server-side execution) in Linux, but the result is a black screen. The capture works on non-HDRP projects if I force render the camera with camera.Render(), but the same doesn't happen in this case. Is there any way to fix this? Thank you!

lucantoncich avatar Feb 18 '21 16:02 lucantoncich

Could you check if the Unity Recorder works with the same environment?

keijiro avatar Feb 19 '21 01:02 keijiro

My bad! I forgot to mention this is the standalone build, which the Unity Recorder doesn't work in. I tried using the screenshot funcion (ScreenCapture.CaptureScreenshot) which also did work in the standalone build but not in batchmode. Do you think there may be a way to force the pipeline to render? Thank you!!

lucantoncich avatar Feb 22 '21 16:02 lucantoncich

My understanding is that you can't render anything in batchmode. Although you might be able to find some information about it by googling, they're beyond my knowledge.

keijiro avatar Feb 23 '21 00:02 keijiro

I left this issue opened as a feature request.

Please don't expect that it gets implemented in the near future. I hardly think I can have time for it. It's like things on my bucket list.

keijiro avatar Feb 23 '21 00:02 keijiro