I am tring to manage the recording from the selected camera.
The goal: I have a few cameras in the scene and I need to capture video from all of them.
What I tried: I wrote the script which is rendering mp4 file for all cameras based on their tags but all of them have a black screen after the recording is finished. Then I used a recorder (version: 3.0.3), select TaggedCamera as a source and record the animation (to verify if it works at all for tagged camera)
The problem: Every time the mp4 has a black screen. Only if I select display, in game mode, which contains the view from this camera, then the mp4 file is correct, so it seems like the recorder always takes the game view. Is it a common bug?
Hey I recorded videos with 3-6 cameras, each assigned different tags, and they worked without problems. The main purpose was to set different culling masks for each camera and then create a single video in After Effects from these clips with opacity transitions between them. For example, I had a sad, grey environment and a happy, colorful environment.
However, when I attempted the same process in Unity version 2021.3.27f1 with URP, I encountered black screens for each video. I tried everything but had no success The only workaround was to use only one camera with a game view and change the culling mask every time. However, because the gameplay varied each time, I was forced to create a Timeline with prepared animations.