[Solved] Edge browser doesn't load / show the tiles correctly

Hey, I've come across a strange bug out of nowhere. I'm not exactly sure what's causing it, as it went from working perfectly to not working overnight. I've already checked, and all the resources are in the correct place. Interestingly, the game does work without any issues in Google Chrome. Any ideas on where to start troubleshooting?"

edge is on version:
Versie 124.0.2478.67 (Officiële build) (64-bits)

I hate edge and personally got rid of it entirely.

I would recommend the following browsers.

- Google Chrome (ditched it too)
- FireFox (Mozilla)
- Vivaldi (I use this and it works better then the 2 mentioned above).

but Edge has more issues and no privacy at all.
I hate edge and personally got rid of it entirely.

I would recommend the following browsers.

- Google Chrome (ditched it too)
- FireFox (Mozilla)
- Vivaldi (I use this and it works better then the 2 mentioned above).

but Edge has more issues and no privacy at all.
I agree with you, where chrome has the largest market share browser wise...
Arround 64% world wide vs 5% Edge.

however It doesn't solve the problem why edge has difficulties displaying tiles the proper way. Under the hood they are both based on chromemium.
so far I know, Edge has is own stuff, and not sure on HTML 5 part.
as some sites has difficulties and rely on plugins/extensions to make
stuff smoother.

Vivaldi is also chronium based, but you can setup in the way you want it,
as chrome and mozzila has 1 layout.

vivaldi offers more privacy while surfing too, but I just say if you do
it browser based, not recommend it in edge and you will be good 🙂.

as support for all browsers is also harder as some JS code isn't supported
by all browsers as well, and to make combability patch to make sure it is
readed correctly is also a thing to do, so avoid edge and set a warning.

as other browsers run them better 🙂
@ShadowDragon I'm not the OP, but I don't think your continued opinions about Vivaldi and whether Edge is a good browser have anything to do with answering his question.

It could be a setting in Edge that restricts file loading but can be changed; it could be an innate limitation of the lightweight browser. I don't know the answer, but me saying "I don't use Edge" isn't relevant 😛
edge have very low settings and no privacy, so unless you want to dig deeper for the settings.
whatever you turned off gets turned on and no fan of edge.

any browser besides edge is better anyway in my opinion as many things doesn't work on edge.
it's the worst browser if you ask me ^^
Thank you for your opinion @ShadowDragon, however how bad edge may be, it did work at first and the next day it didn't. So any insight would be appriciated, as could it be an update, out of memory, bad-caching or something else and if so, does other browsers that use chromium would encounter the sane problems sooner or later?
It fails to render the first screen's worth, but successfully renders henceforth during that play session. That makes me think it's probably a file load issue. Usually a scene waits until its tileset is loaded before starting, but perhaps there's an edge case (ha) somewhere, particularly with browser-based games where loading resources will typically take longer than a local game app.

It may depend on plugins you are using, e.g. tile(set) substitutions, overlays for unexplored rooms, or anything else that affects the tilemap render process.

A potential, generic solution may be to find a plugin to preload all the game's tilesets on game boot. You would want to make sure they are loaded into a persistent, per-session cache; by default MV's image cache implements a pixel size limit (default 10 MPx), clearing older requests to remain at/below that limit.
It fails to render the first screen's worth, but successfully renders henceforth during that play session. That makes me think it's probably a file load issue. Usually a scene waits until its tileset is loaded before starting, but perhaps there's an edge case (ha) somewhere, particularly with browser-based games where loading resources will typically take longer than a local game app.

It may depend on plugins you are using, e.g. tile(set) substitutions, overlays for unexplored rooms, or anything else that affects the tilemap render process.

A potential, generic solution may be to find a plugin to preload all the game's tilesets on game boot. You would want to make sure they are loaded into a persistent, per-session cache; by default MV's image cache implements a pixel size limit (default 10 MPx), clearing older requests to remain at/below that limit.

Just for my knowledge do you comfirm that the rpg maker mv engine loads all the tiles one by one? In that case it would make sense, on the other hand it doesn't where parts of the map are loading fine (same tiles and files).
Just for my knowledge do you comfirm that the rpg maker mv engine loads all the tiles one by one?
No, it loads the entire tilesheet. I think what caethyril is getting at is that it could be an issue in the rendering process, where it's starting to draw some tiles before the entire tilesheet file has been loaded.

But it's weird.
Good point! More ideas:
  1. Perhaps Edge imposes more restrictions on renderable content, e.g. texture memory. Could also be related to your OS, graphics drivers, hardware configuration, and/or 3rd-party apps.
    • 0:13 is a complete redraw of the black area, minus a bunch of tiles in no obvious pattern. I'm not even sure what triggers the redraw, probably not that deep though.
    • 0:19 looks almost like a bad culling check, like "we stepped over this line, now we need to render these tiles instead". No idea if that's what's happening.
    From skimming through rpg_core and pixi-tilemap, I think the tiles are all sourced from complete tile sheets. And it looks like it just draws autotiles as 4 sub-rects rather than pre-rendering each shape.

    If you close the game and try again, does the same thing happen, with the same pattern of tiles?

  2. MV has 2 render modes: WebGL (ShaderTilemap) and Canvas (Tilemap, a fallback for when WebGL is deemed unavailable). Pressing F2 during play should show the framerate widget, which will be labelled with the render mode. WebGL may be disabled due to e.g. a (false) negative when checking for WebGL support, user browser settings, outdated graphics drivers, or ancient hardware.

    You could try using a plugin like CommunityBasic (present by default in new MV projects), to force the rendering mode to webgl or canvas. If the issue only occurs with one render mode, that could help narrow things down.

  3. Share screenshot(s) of your Plugin Manager, showing all plugins you are using. Game resolution (and the plugin you're using to change it) may also be relevant, since MV only strictly supports 816x624 out of the box.
Good point! More ideas:
  1. Perhaps Edge imposes more restrictions on renderable content, e.g. texture memory. Could also be related to your OS, graphics drivers, hardware configuration, and/or 3rd-party apps.
    • 0:13 is a complete redraw of the black area, minus a bunch of tiles in no obvious pattern. I'm not even sure what triggers the redraw, probably not that deep though.
    • 0:19 looks almost like a bad culling check, like "we stepped over this line, now we need to render these tiles instead". No idea if that's what's happening.
    From skimming through rpg_core and pixi-tilemap, I think the tiles are all sourced from complete tile sheets. And it looks like it just draws autotiles as 4 sub-rects rather than pre-rendering each shape.

    If you close the game and try again, does the same thing happen, with the same pattern of tiles?

  2. MV has 2 render modes: WebGL (ShaderTilemap) and Canvas (Tilemap, a fallback for when WebGL is deemed unavailable). Pressing F2 during play should show the framerate widget, which will be labelled with the render mode. WebGL may be disabled due to e.g. a (false) negative when checking for WebGL support, user browser settings, outdated graphics drivers, or ancient hardware.

    You could try using a plugin like CommunityBasic (present by default in new MV projects), to force the rendering mode to webgl or canvas. If the issue only occurs with one render mode, that could help narrow things down.

  3. Share screenshot(s) of your Plugin Manager, showing all plugins you are using. Game resolution (and the plugin you're using to change it) may also be relevant, since MV only strictly supports 816x624 out of the box.

Thanks for your ideas I will try to play with them and report back, with the screenshots of the plugin manager.

If you close the game and try again, does the same thing happen, with the same pattern of tiles?
Yes it does, but depending on the way the actor walks, as far as I know.


Still it's weird, where I can't get my head around, where it worked for a few weeks just fine at first and without any edits it does what is does...

As for the rendering, gpu - drivers, gpl, library and everything related outside the browser hardware or os, it could be possible, but that doesn't explain why it works flawless on the chrome browser, and also works fine on samsung internet for mobile.
Do your playtesters experience the same issue using the same browser? Could be something with your system resources/configuration.
Do your playtesters experience the same issue using the same browser? Could be something with your system resources/configuration.
Not that I'm aware of. Would you like to try?

it's this one:

also here is the plugin list: Not that big of a complicated list, I will change the yelp core_ for the community basics, Just using it for the screen resolution: W1104xH624
1714582189854.png



Also, what I noticed is when I open the menu, the tiles are miraclesly loaded LoL.

Not that I'm aware of. Would you like to try?

it's this one:

also here is the plugin list: Not that big of a complicated list, I will change the yelp core_ for the community basics, Just using it for the screen resolution: W1104xH624
1714582189854.png



Also, what I noticed is when I open the menu, the tiles are miraclesly loaded LoL.

Update:
So I asked my nrighbours, and they said it worked fine on their edge browser. Tried another laptop and works fine too, and just made a vm with windows 10, edge and thats working too...

So I'm very sorry for wasting everybodies time, I do appriciate the help and possible solutions given.

And well I guess my browser is not functioning as it should... I still figuring out why 😎and let you guys know if I could figure it out, and maybe this threat would be helpfull for some lost soul who encounter this specifiek problem.
👋 No worries! After all, if you experience these things, chances are someone else will too.

That plugin list looks OK. I don't imagine Terrax lighting would affect things like this, and the rest looks pretty innocuous. Probably best to keep YEP_CoreEngine unless you know it's causing a problem...it changes a lot of things, after all. I notice some of the plugins you're using have received updates, but I'm not sure if any of those updates impact this problem.

Opening/closing the menu is a change of scene, so it basically forces everything to re-render. Only 1 scene "exists" at a time: the blurry menu background is actually a snapshot. Does a change of scene also fix the on/off thing from 0:19? Might also be worth testing F4 (toggle full screen) to see if that has a similar effect.

If the game uses Canvas rendering mode (as mentioned, F2 to check) in Edge, you can visit this site ("spinning cube") to see if your browser can use WebGL:
If not, double-check you have Edge's hardware acceleration option enabled? The link on that site may provide further suggestions. Otherwise it could be something like Edge failing to properly support a particular piece (or combination) of hardware and/or driver version(s). The HTML specification generally only defines the required outputs, rather than the method used to achieve those outputs.

I wonder if it's something to do with how you've embedded the game on the site, and/or how you're accessing it, e.g. internet vs local network. Both could affect game permissions.

Less reproducibly, it might be related to some kind of data corruption, e.g.
  • In cookies - you could try clearing cookies for the site;
  • In RAM/registry - you could try rebooting your system;
  • In your Edge install - you could try to repair/reinstall it.
👋 No worries! After all, if you experience these things, chances are someone else will too.

That plugin list looks OK. I don't imagine Terrax lighting would affect things like this, and the rest looks pretty innocuous. Probably best to keep YEP_CoreEngine unless you know it's causing a problem...it changes a lot of things, after all. I notice some of the plugins you're using have received updates, but I'm not sure if any of those updates impact this problem.

Opening/closing the menu is a change of scene, so it basically forces everything to re-render. Only 1 scene "exists" at a time: the blurry menu background is actually a snapshot. Does a change of scene also fix the on/off thing from 0:19? Might also be worth testing F4 (toggle full screen) to see if that has a similar effect.

If the game uses Canvas rendering mode (as mentioned, F2 to check) in Edge, you can visit this site ("spinning cube") to see if your browser can use WebGL:
If not, double-check you have Edge's hardware acceleration option enabled? The link on that site may provide further suggestions. Otherwise it could be something like Edge failing to properly support a particular piece (or combination) of hardware and/or driver version(s). The HTML specification generally only defines the required outputs, rather than the method used to achieve those outputs.

I wonder if it's something to do with how you've embedded the game on the site, and/or how you're accessing it, e.g. internet vs local network. Both could affect game permissions.

Less reproducibly, it might be related to some kind of data corruption, e.g.
  • In cookies - you could try clearing cookies for the site;
  • In RAM/registry - you could try rebooting your system;
  • In your Edge install - you could try to repair/reinstall it.

Edge is using web-gl, I see the cube 🙂 floating.
I uninstalled edge and reinstalled but it didn't fixed it, removed cookies, temps, and everything related to the webbrowser. the bug is still there, I got the same version build as before.
Although my daughter has the same laptop she doesn't have this problem, same version of windows and edge.
there is no other way that it's my own local problem, but I'm still curious what it could be causing it.

So what I did notice, is that I bought my companies laptop to use it privately, though There are some traces from the companies policy that could interfere with the browser setup. I installed my own copy of windows on the laptop by that time, but as it looks like it's still getting company-stuff pushed somehow. The windows serial number is edged on the motherboard, so maybe this windows is geting the policies pushed once in a while. Anyway I really don't feel like reinstalling windows at this moment or diving to deep to all the policy stuff for "just this."

As for the policies there is a webwidgetallowed, that is set to false.
funny thing is when you look that policy up;
1714649572523.png

it is stated "on windows since 88 or later"
So they have webwidgets from arround windows 2.1 or something, that just made my day.
I suspect 88 is a version number, not a year. Windows didn't have a Web browser until the '90s, and it was years before the concept of installing widgets was introduced to browser programs.

You can see in the description of the control that it's permitting (or not) Edge to install widgets, and that didn't exist until Windows 10.
I suspect 88 is a version number, not a year. Windows didn't have a Web browser until the '90s, and it was years before the concept of installing widgets was introduced to browser programs.

You can see in the description of the control that it's permitting (or not) Edge to install widgets, and that didn't exist until Windows 10.
I know, just found it funny the way the information was presented.

But as funny as it would be... I found a solution.
turns out there was an option that somehow turned off over night, not sure why.

although my version of edge is dutch...

I think the option is called; system and performances, and use the graphical acceleration if available.

Turning this on would solve the issue I'm having. So I guess this topic could be closed... I let the mods know.
Thanks everyone.


1714660628055.png
This thread is being closed due to being reported as solved. If you need it reopened, let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/solved-edge-browser-doesnt-load-show-the-tiles-correctly.168225/