Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Resolved [IN-10894] Multiple video players running simultaneously freeze up the editor/build in 2022.2.0b2

Discussion in '2022.2 Beta' started by ROBYER1, Jul 26, 2022.

  1. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    Running multiple video players at once in the scene has a huge performance regression in 2022.2.0b2, worked fine before in 2022.1.9f1.

    This happens in both build and editor, see the example videos, this is a pretty major blocking issue as we wanted to use AMD FSR in Exhibition apps which is only available in 2022.2 beta branch with URP but this performance regression means we just have to stay with older engine versions and spec out more expensive kit to run 4k media rather than using FSR to reduce hardware requirements to show 4k upscaled content instead.

    Bug report case: [IN-10894] Multiple video players running simultaneously freeze up the editor/build in 2022.2.0b2

    Edit: I have had to remove the youtube vid links here as they are not needed, I hope this issue can be fixed with the case number and attached project within it.
     
    Last edited: Aug 11, 2022
  2. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
  3. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    @LeonhardP Sorry to bother you, this is a show-stopper for some exhibition apps we are working on where video upscaling is required to show 4K content, is there any department I can contact about this?
     
  4. Kawaiiiii

    Kawaiiiii

    Joined:
    Apr 25, 2017
    Posts:
    3
    Second this, we also have the same issue.
     
  5. The_Island

    The_Island

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    502
    Hi. I just saw the forum post. We made some major changes to the VideoPlayer in 2022.2. You can now change which clock source the VideoPlayer should use, compared to before, when it could only follow the real-time clock. So it is probably related to that. We will investigate and fix it as fast as we can.
     
    KimmoFactor and ROBYER1 like this.
  6. Unity-Lukas

    Unity-Lukas

    Unity Technologies

    Joined:
    Jan 8, 2020
    Posts:
    2
    Hi, quick update.

    A fix for this issue has been made, and is in the process to be released. I will add an update to this thread when it has been released.
     
    ROBYER1 likes this.
  7. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
  8. Onat-H

    Onat-H

    Joined:
    Mar 11, 2015
    Posts:
    195
    Any updates on this?
     
  9. Unity-Lukas

    Unity-Lukas

    Unity Technologies

    Joined:
    Jan 8, 2020
    Posts:
    2
    ROBYER1 likes this.
  10. greg-harding

    greg-harding

    Joined:
    Apr 11, 2013
    Posts:
    524
    Interesting to hear your video use-case. Other than the bug, what is general video performance like? We've used video a little bit in older Unity and it's always been a bit of a performance hit and required image bandaids to hide quite slow starts, empty render textures rendering to textures, quite poor looping performance, poor performance running on secondary monitors (on Mac), etc.

    eg. this thread earlier in the year: https://forum.unity.com/threads/videoplayer-takes-1-2-second-to-start-no-matter-what.1241044/ mentions some of the hoop jumping we normally have to do.
     
  11. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    Nothing major for us, usually not more than 2-4 video players on at once and we had control over the hardware spec. For apps that could run on any device it's obviously best to avoid lots of video players and keep things optimized.
     
    greg-harding likes this.
  12. deltavlokkies

    deltavlokkies

    Joined:
    Aug 30, 2019
    Posts:
    3
    The issue still hasn't been fixed in the b10 build.
     
    ROBYER1 likes this.
  13. Onat-H

    Onat-H

    Joined:
    Mar 11, 2015
    Posts:
    195
    This is fixed in b15.
     
    The_Island and ROBYER1 like this.