All map tiles are black.

Hello, everyone!

I've recently seen some players report a strange bug (pic) where they only see events. All the other tiles are black for them and it happens only in RPGmaker MZ games.

It's not an issue in the game itself, it's most likely something connected to the engine.
I personally haven't experienced the issue myself.
Anyone got info on this?
Untitled.png
Um. To clarify, you say "in MZ games"...is it your game? Is it even all the same game? Different games?

It being black means the image isn't loading. On the map, that means either the tilesheet is incorrect or there's a parallax image that's too large to load.

Or other stuff, of course, but those are the common reasons...but it's kind of impossible to troubleshoot if it's not your game, and it's almost definitely because of the game, not somehow generically the engine.
It's not a single game. It's ALL rpgmaker MZ games for these people.
In this specific case the game runs perfectly fine for everyone else...that rules out in-engine issues.
I'm thinking they're most likely missing a driver or their nw.js is out-dated but I'm not sure if this issue can be caused by things like that.
Huh. Okay.

Yeah, I would definitely suggest updating graphics drivers first. MV/MZ distributions have their own NW.js packaged with the game, so as far as I know it doesn't have any requirements for the user's system.

I was thinking something with the file system and the file wasn't loading, but that should produce a crash with an error screen.
Something else that I found interesting is that the game still loads the images for events,
all the pictures for the menus and item icons.

They get no errors whatsoever and other than the black tiles the game seems to be working fine.
Somehow the same person doesn't have these issues when playing MV games...It's super odd.
we need more info about the computers where this happens.

I can think of several possible reasons, but they depend on a lot of different things - for example does anyone of those has the chrome browser installed? The exe is internally a chromium based browser, and if they have chrome with a different configuration that can interfere.

or how much RAM do they have? Black pictures also happens if the picture to load is larger than the image buffer allows, and that is partially dependent on how many RAM is available on the computer.
So these users never see the tileset in MZ games? Or is it an occasional issue that may be fixed by, say, opening and closing the pause menu?

Tileset texture size ought to be A-OK, since core MZ doesn't support tile sizes over 48 px.

It's possible that MZ's custom tilemap renderer (Tilemap.Renderer, rmmz_core.js) relies on WebGL features that their graphics driver does not support - I haven't looked into it in depth. MV has a fallback renderer, Canvas, but MZ uses WebGL exclusively.

I'd suggest that they download the appropriate graphics driver update from the manufacturer's site, or via an app like Geforce Experience; third-party stuff from Windows Update, for example, is often very outdated.

Also, if they're using a laptop with a dedicated GPU, the game may be running on integrated graphics. If that is an issue, Windows 10+ accepts per-app overrides for preferred GPU:
  • Windows Key + I (Settings) -> Search: Graphics settings
Older versions require you to go through the dedicated graphics software, e.g. Nvidia control panel. I don't know about Mac/Linux.
I did some MZ games, but never got this issue, its either a low graphic card
driver which require updating, or something else, hard to tell, but I do agree
with ATT_Turan and caethyril to test out.

if you system is to weak, try another pc to see if it works there.
I spoke to one of the people who has this issue.

Desktop Windows 10 Home - 16gb ram, 3060, I5.
He doesn't use Chrome.
These issues happen in ALL MZ games for some reason.
Graphic drivers are up-to-date.
Windows is up-to-date.
Can't be a faulty drive cause he has no issues playing BF3 with normal loading time.
Updated his NW.js, still has the same issue.

I made a VM to simulate what he has in terms of Ram,Vram and processor hz with the same windows...I can't replicate the issues he's having.

Thought it could be an anti-virus but if the files were quarantined the game would've just given him an error.


On the bright side this issue is super rare.
I'll tell him to reinstall windows if he really wants to play MZ games.



The other person hasn't responded yet.
Can't be a faulty drive cause he has no issues playing BF3 with normal loading time.
wrong - it can easily be a microsoft driver that is the cause.

OpenGL and WebGL are competition to Microsoft's DirectX, and as a result there are several Microsoft-programmed drivers that have incomplete support for them.

that is why we always tell people to install the driver from the manufacturer's website and not the windows-internal drivers.
I meant a faulty hard-drive or SSD. Seen issues around other games where the files couldn't be loaded because the drive was dying but I doubt a game that's around 1-4gb can't run but a 130gb game can.
It's surely a driver issue.
I meant a faulty hard-drive or SSD.
and even that is possible, because harddrives that are nearing end-of-life are losing single blocks of data slowly over the last few months before the errors cascade.
and then it depends entirely on which game a lost sector belonged to, because that game and not the others will have lost part of their code or data.
Yeah, so it's not possible for it to affect only RPGmaker MZ games.
Could've been possible if it was a single game that was affected.
I'll keep digging...If I manage to recreate this on my machine it will be easier to track down the issue.
Either way. It's so rare I doubt investing time in finding a solution is really worth it.

Original thread: https://forums.rpgmakerweb.com/threads/all-map-tiles-are-black.162812/