Rpg Maker MV BGM and store issues (On android)

im getting some issues like having some audio delay when i play some bgm on rpg maker mv. For example, i have a background sound in a map. when i enter that map, it takes like 5/10 seconds until the bgm start playing 😛  (I can even walk until it does).


This happens on Rpg maker mv project test, on pc version, and when tested on android (5.0 LOLLIPOP).


The other one is just on android, since it doesnt happen on PC. When i go to a store, it crashes when is going to open "store window" to buy something. 


This since everything, i tought with the last updates (1.1.0 and 1.2.0) this would be fixed but it were not...


PS: Sorry for my bad english, but im portuguese so it´s not my language xD
1) how big is the music file? The BGM needs to be loaded by the browser before it can be played, and that sounds as if you have a large BGM file that needs time to load.


The only way to change that is to use the plugin for preloading data, nothing that we can do in the engine itself.


2) What error messages are there if it crashes on Android? Can you give the console output?


But there can only be two reasons for such a problem: either a plugin that isn't correctly configured, or the shop function tries to load a file with an illegal filename.


Windows allows for spaces and non-latin letters in filenames and automatically handles them, but that won't work after deploying to a different device with a different filesystem.


So check all your files for spaces and non-latin letters, those are deadly for deployment to other computers.


In both cases the error has nothing to do with the engine, so it doesn't wonder that the updates don't fix the problems...


I've moved this thread to MV Deployment. Please be sure to post your threads in the correct forum next time. Thank you.


Because product issues are if the program doesn't work, your problem is with something not correct in deployment.
This happens to all BGM, so i have different file sizes 😛


On Android it just crashes, at least i´m not receiving any messages. how i give the console output ?


And about the first reason you mentioned, i have no files with spaces or non-latin letter (Btw, the game is in portuguese, so it has letters like ã, ç, á, etc... on items, text and things like that but not in the file names. is this what you´re talking about ?)


I had to remove them from file name, cause it didn´t let me package like that...


About the second reason, i just started to use plugins recently, but i had this problem since ever 😛
(Again sorry for my bad english 🙂  )


EDIT: The BGM delay happens in project edit too, and with BGM that already came with RPG Maker MV (not just custom ones).
yes, those letters are what I was talking about.


Can you give the hardware specification of your devices?


Also which versions of the Editor were the games created on, and have you manually updated them (there is no automatic update for project files, the editor update only works for future projects not existing ones)
PC specs: Windows 8, Dual core 1.4 GHz, 4 GB RAM. On my PC the game runs fine, just has the sound issue.


Android Phone specs: Android 5.0.2 (Before the update to this version, i had 5.0 and things were the same), Quad Core 1.3 GHz, 1 GB RAM.


The game was created on the first version, but i've updated it manually to 1.1.0 then 1.2.0.
REALLY SORRY for double posting, but i think i just found what's Causing this.


I saved The game inside The Shop, and restarted The game. Then i've loaded the save game and went talking with the Shop kepeer, and for the first time The shop window opened !


But when i start a new game, go trough The map, the city ans everything until reach the store, it crashes when its going to open the Shop window. I think this is being happening because of The memory leak issue that RPG maker MV have now...


Actually i forgot to mention it, but The more i keep playing, The more heavy The game be, and like 1 minute of gameplay  later and The game crashes. I know because i have a filter APP that closes when im playing RPG maker MV projects. Even when i were recording the screen to show you what happens, it closed. And for last, The game closes...

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-bgm-and-store-issues-on-android.61332/