Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capturing on -batchmode #62

Open
lucantoncich opened this issue Feb 18, 2021 · 4 comments
Open

Capturing on -batchmode #62

lucantoncich opened this issue Feb 18, 2021 · 4 comments
Assignees

Comments

@lucantoncich
Copy link

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!

@keijiro keijiro self-assigned this Feb 19, 2021
@keijiro
Copy link
Owner

keijiro commented Feb 19, 2021

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

@lucantoncich
Copy link
Author

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!!

@keijiro
Copy link
Owner

keijiro commented Feb 23, 2021

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
Copy link
Owner

keijiro commented Feb 23, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants