obsproject / obs-browser

CEF-based OBS Studio browser plugin
GNU General Public License v2.0
783 stars 225 forks source link

Browser source doesn't show on scene change #342

Closed Corben78 closed 2 years ago

Corben78 commented 2 years ago

Operating System Info

Ubuntu 20.04

Other OS

No response

OBS Studio Version

27.2.0 Beta 2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/GWNAHFe1jwEmMJkH

OBS Studio Crash Log URL

No response

Expected Behavior

Browser source keep showing/working on scene change from a scene where that source wasn't present.

Current Behavior

When having multiple scenes, where one scene has as source another scene, while the other scene contains a browser source, that browser source stops showing when changing to a scene where that scene with the browser source wasn't included. When switching from the scene containing the browser source to a scene that is having the previous scene included, it keeps working. Unfortunately there is nothing in the log file that indicates an error. It seems not to happen, when I configure the browser source to unload when it's not visible.

Steps to Reproduce

  1. create a scene with a browser source
  2. create another scene without that browser source
  3. create a third scene including a source referencing the first scene (with the browser source, source NOT set to unload when invisible)
  4. switch between scenes and observe how it stops being displayed when switching to the 2nd scene (that doesn't reference the browser source scene) and back
  5. reloading the browser source (by making it invisible/visible again, or clearing cache) shows the source again

Anything else we should know?

No response

WizardCM commented 2 years ago

This isn't the first time this issue has been reported in Beta 2, but I am unable to reproduce this on either Windows or Ubuntu.

Could you try without any third party plugins installed?

WizardCM commented 2 years ago

I've now reproduced this on Windows. We have a potential cause, will do more testing tomorrow.

Moulaythami commented 3 months ago

Bug still occuring, you have to include the scene where you want the browser source to still be showing, in the scene you'll be switching to. The browser source deactivate itself when you switch to another scene were the browser source is not included.

I wanted to get a NDI feed of a browser source but the browser source kept deactivate itself when switching scene, issue disapeared when I inclueded the browser source in the scene I was switching to, even if I had to hide the browser source puttin ig it outside the canva.