I had a similar issue and found your thread trying to fix it. Hopefully your problem is as simple as mine.
My problem was: I forgot to insert my display elements into the display group (sceneGroup)
Your code above doesn’t include any visual. I’m guessing you do have visuals to apply the effect to.
If you don’t insert them in the sceneGroup, the composer cannot apply transition effect to the display elements.
Same thing with hideOverlay(). The composer is hiding/removing/recycling the sceneGroup. So if your display stuff is not in the sceneGroup, they will stay on screen even if you hide the overlay.
I had a similar issue and found your thread trying to fix it. Hopefully your problem is as simple as mine.
My problem was: I forgot to insert my display elements into the display group (sceneGroup)
Your code above doesn’t include any visual. I’m guessing you do have visuals to apply the effect to.
If you don’t insert them in the sceneGroup, the composer cannot apply transition effect to the display elements.
Same thing with hideOverlay(). The composer is hiding/removing/recycling the sceneGroup. So if your display stuff is not in the sceneGroup, they will stay on screen even if you hide the overlay.