Disappearing windows background

● ARCHIVED · READ-ONLY
Started by Angio 3 posts View original ↗
  1. I'm having a curious issue. I'm developing a game for mobile. I have this problem with Android since the version 8 (Oreo). So basically the OS seems to unload some files (images in this case) to free RAM. It's not too much of an issue except that it means that Window.png have to be reloaded from time to time. As this is not a critical ressource (such as the Tileset for exemple) the game just go on.

    Losing the background randomly in text during dialog is a pain but not too much of it. It usually comes back for the next window and is missing only many dialog later. But when it comes to menu, that a big issue. It becomes hard to use the menus and you end up needing to open/close it many times until it gets correctly in place.

    I've done a lot of testing:

    The problem started after my own device got an update from Android 7 (Nougat) to Android 8

    The problem is there on my game's current version but also on older versions (version I used without any problem in the past before my device update)

    The problem is not there when I use any version of my game (even the last one) on a devise with Android 7 or 6 (Marshmallow) e.g. older phone

    The problem is also there when I start a new project from scratch and directly try it on Android (so the issue is not with my plugins):

    r6dhxvi1dhp11.jpg

    77s42vi1dhp11.jpg

    uieljvi1dhp11.jpg

    p8wxyvi1dhp11.jpg

    It seems to be completely random.

    Have anyone seen this before ?

    Any idea? how to fix this?

    I was thinking maybe a way to protect the apps from the OS (some kind of priority) or a way in the game to specify that Window.jpg for exemple is a critical image just like a Tileset and the game should wait if the file is not currently loaded.

    Telling players not to update their OS to Android 8 so the game work correctly seems a weird solution.

    Any idea would be appreciated.
  2. [move]RPGMaker MV Deployment[/move]
  3. dumping and reloading a window skin *could* cause that, but since all the menus are based on the same file, and seeing that whole sections of it are missing, leads me to believe it's an update problem.
    both issues could be related tho.... the program could be skipping updates to save power, hence the missing contents over a full frame, or fully drawn window with no background.