Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Recorder writes empty video file from Display 2 on different screen

Discussion in 'Audio & Video' started by OUTTAHERE, Mar 20, 2023.

  1. OUTTAHERE

    OUTTAHERE

    Joined:
    Sep 23, 2013
    Posts:
    656
    I run Unity Recorder on Unity 2022.2.10f1, and if the game view with Display 2 is focused, the recorder does some recording (even slows down the frame rate), but the resulting file is 0 bytes in size.

    This happens if the Display1 and Display2 views are on separate physical screens. If they are on the same physical screen, see my other thread here about corrupted video being written.

    Recording works as expected if I focus the Game view for Display 1.


    Expected behaviour could be:
    a) all Displays are recorded
    a1) into separate files with appropriate timecodes
    a2) or multiplexed as chapters/viewing angles

    b) the focused display is recorded. This may be difficult if the two views are side by side on the same screen and they have different sizes
     
    Last edited: Mar 20, 2023
  2. OUTTAHERE

    OUTTAHERE

    Joined:
    Sep 23, 2013
    Posts:
    656
    I won't attach the file here, as it's 0 bytes. :)
     
  3. ellka

    ellka

    Unity Technologies

    Joined:
    Jun 17, 2019
    Posts:
    70
    Hi Thygrr, I'm not entirely sure by reading your post if you're reporting a bug or a feature request (or both?).

    If it's indeed a bug, could you report it via Unity (Help > Report a Bug...) with the repro steps? This way we will also have your project setup and it makes it easier for us to be sure we look at the right things! It'd be really helpful!

    If part of it is indeed a feature request, could you be more specific on your use case and current setup?

    Thanks!
     
  4. OUTTAHERE

    OUTTAHERE

    Joined:
    Sep 23, 2013
    Posts:
    656
    It's two bugs, I was describing acceptable behaviour. Let me see if I can file a report.
     
  5. ellka

    ellka

    Unity Technologies

    Joined:
    Jun 17, 2019
    Posts:
    70
    Ah ok! The acceptable behaviors almost sounded like feature suggestion.

    Am I correct to assume that you have a setup with 2 GameView windows open like in your other post?
    I'm not sure Recorder was ever intended to support that, but I guess we could at least put safe guards to avoid confusion.

    Let me know when you logged the bugs through Unity and send me the links to them, I can make sure they get triaged faster! I will also see with my team if someone has more knowledge on this specific use case.