obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

Switching a scene and triggering a source transition will sometimes break the source visibility state

Open Fenrirthviti opened this issue 3 years ago • 2 comments

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

27.0.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/odppsy7QYUhzTUWU

OBS Studio Crash Log URL

No response

Expected Behavior

Sources should not break visibility behavior when transitioning regardless of the order transitions are triggered in

Current Behavior

Sources will sometimes break when a source transition is triggered during a normal scene transition, or vice versa. This causes the sources to behave irregularly, see the below two videos for examples of how it breaks:

https://pub.rachni.com/vid/2021-09-16_18-24-09.webm

and

https://pub.rachni.com/vid/2021-09-16_18-26-24.webm

Steps to Reproduce

  1. Create 2 or more scenes
  2. Use "Add Existing" to add the same source to all scenes
  3. Assign a show/hide transition to the source in all scenes
  4. Assign a hotkey to show/hide the source in all scenes (I used the same hotkey for every action)
  5. Replicate either of the following: a. Initiate a source transition by hitting the hotkey and then rapidly change scenes b. Initiate a scene transition and rapidly trigger a source transition by hitting the hotkey

Anything else we should know?

It may take several attempts of mashing the hotkey and switching scenes rapidly to trigger, probably a race condition of some kind.

Fenrirthviti avatar Sep 17 '21 00:09 Fenrirthviti

Throwing this video here as far as my repro steps too.

https://www.youtube.com/watch?v=GIEryqtKQG4

40wattrange avatar Feb 02 '22 17:02 40wattrange

Hi. Will this be fixed in v28? I would love to use source transitions again without breaking the visibility state.

masterwindu69 avatar Aug 05 '22 20:08 masterwindu69

@Fenrirthviti What's the definition of "broken" here, because so far the only thing I was able to replicate was that the different "show" transitions are combined, which looks visually jarring but didn't "break" the sources.

PatTheMav avatar Sep 27 '22 13:09 PatTheMav

@PatTheMav The source will stop showing its content (videos dont play, images aren't displayed) until OBS is restarted. At least that was the case when I was reproducing this behavior in OBS27. Never tried it in v28 (I'm still on v27).

itroy187 avatar Sep 27 '22 15:09 itroy187

Then the issue didn't occur to me at all on macOS, might require someone reproducing on Windows and/or Linux.

PatTheMav avatar Sep 27 '22 18:09 PatTheMav

I can't seem to replicate in 28 on Windows either. Seems to have been fixed, going to go ahead and close this. If someone else can replicate on 28, we can reopen.

Fenrirthviti avatar Sep 27 '22 21:09 Fenrirthviti

@Fenrirthviti Was able to replicate this as described here in v28 as well.. Unfortunately it's not fixed.

https://user-images.githubusercontent.com/6821126/193013772-cf7eb5aa-47d0-436e-9e50-d900267ed88f.mp4

itroy187 avatar Sep 29 '22 10:09 itroy187

@Fenrirthviti The issue persists in OBS 28. Tested with clean install. I used the steps described to reproduce.

masterwindu69 avatar Oct 11 '22 10:10 masterwindu69

Maybe I'm reproducing this wrong, because I can see no issues:

https://user-images.githubusercontent.com/9436503/195112826-07d8fe35-da15-470b-96c8-ecd00c2529b8.mov

PatTheMav avatar Oct 11 '22 14:10 PatTheMav

@PatTheMav Hmm.. interesting. I have a slightly different way to reproduce it described here. This way I'm able to reproduce the issue on both of my two computers.

itroy187 avatar Oct 13 '22 07:10 itroy187