Steam overlay bugging out?

Hi everyone,

Does anyone know why the Steam overlay is bugging out when it tries to hide in fullscreen mode (see lower right corner)?
1621631176082.png


This is the default Steam overlay (when using RPG Maker MV through Steam, or when running my game through Steam).

Thanks!
Does this only happen with mv, not other steam games? Does it happen when play testing or in the deployed game?
Only with MV, and both testing and deployed.
I would suggest troubleshooting with steam first. Maybe try it on a different pc with your steam login and again with a friends login.
I would suggest troubleshooting with steam first. Maybe try it on a different pc with your steam login and again with a friends login.

Thanks but I have tried all that before. Different user on different PC and no luck 🙁

From what I've gathered on other places: "
if part of the screen is not being rendered, steam will draw multiple times and not clear

when you open steam overlay and close it, you see all the overlay ui remaining in the black bars"

But I don't know how would I be able to refresh the black bars from within RPG MV, sounds more like a nw.js thing

Ladies and gentlemen, I have solved this! 🙂

Long story short: it was indeed what I said earlier... the black bars aren't refreshed by nw.js, so the overlay bugs out.

Fix was to inject a script that forces a background refresh.
1. On your index.html add a canvas:
<canvas id="refresher" style="width:100%; height:100%;"></div>
2. Then add this js script:

setInterval(function(){ overlayBugFix(); }, 1000); function overlayBugFix() { var canvas = document.getElementById("refresher"); var ctx = canvas.getContext("2d"); ctx.clearRect(0, 0, canvas.width, canvas.height); }

Problem solved!
Nice. Any idea why this was necessary for your project though? Do you think another script was causing it?
I honestly have no clue lol

I use the default RPG Maker resolution 816x624.
Thanks but I have tried all that before. Different user on different PC and no luck 🙁

From what I've gathered on other places: "
if part of the screen is not being rendered, steam will draw multiple times and not clear

when you open steam overlay and close it, you see all the overlay ui remaining in the black bars"

But I don't know how would I be able to refresh the black bars from within RPG MV, sounds more like a nw.js thing
Extreme necro of a thread but I don't suppose anyone could explain exactly where on the file to put these? I have no idea where to put them and having to upload the entire game to Steam over and over to test it isn't a good use of time
Extreme necro of a thread but I don't suppose anyone could explain exactly where on the file to put these? I have no idea where to put them and having to upload the entire game to Steam over and over to test it isn't a good use of time
One into the index.html, as described, and the other has to be a plugin, I'd think.
Necro-post notice: @RainingLamppost If OP still needs the thread, they can request it to be reopened.

Original thread: https://forums.rpgmakerweb.com/threads/steam-overlay-bugging-out.136731/