Type error for android deployment in RMMV 1.5.0

I tried to update the core scripts to rmmv 1.5.0
including the new gamefont.css and index.html
I can run the game without issue with the exe on PC
But if I deploy to android and test on my tablet or in IntelXDK, I get type error upon game start.
The error seems to be pointing to the font loading scheme.

Deprecation Warning: PIXI.GC_MODES.DEFAULT has been deprecated, please use PIXI.settings.GC_MODE pixi.js:26884

Pixi.js 4.4.1 - ✰ WebGL ✰ http://www.pixijs.com/ ♥♥♥

pixi.js:26471
TypeError: undefined is not a function
at Function.Graphics._setupCssFontLoading (http://localhost:58900/js/rpg_core.js:1777:30)
at Function.Graphics.initialize (http://localhost:58900/js/rpg_core.js:1771:10)
at Function.SceneManager.initGraphics (http://localhost:58900/js/rpg_managers.js:1822:14)
at Function.SceneManager.initialize (http://localhost:58900/js/rpg_managers.js:1811:10)
at Function.SceneManager.run (http://localhost:58900/js/rpg_managers.js:1802:14)
at window.onload (http://localhost:58900/js/main.js:8:18) rpg_managers.js:1949

I first thought it was my game but I used a freshly built default project and got the same thing.
I have not had any issue in the past with lower versions. Has anyone else seen this and is there a solution? Thanks!
I tried to update the core scripts to rmmv 1.5.0
including the new gamefont.css and index.html
I can run the game without issue with the exe on PC
But if I deploy to android and test on my tablet or in IntelXDK, I get type error upon game start.
The error seems to be pointing to the font loading scheme.



I first thought it was my game but I used a freshly built default project and got the same thing.
I have not had any issue in the past with lower versions. Has anyone else seen this and is there a solution? Thanks!


Hi, I've been killing myself because I made a game in 1.5 that wasn't deploying to android and now seeing a crash log I think it makes some sense to me.

I'm not home atm, but try this.

https://forums.rpgmakerweb.com/inde...ne-optimizations-for-mobile-deployment.70783/

Go to that forum link and download the old version of pixi.js and replace the pixi.js in your android project and see if that works. i'm going to try it myself soon.


EDIT: Nope that failed. looks like part of the new pixi isn't compatible with android though.

EDIT2: I am an idiot XD. I copied the plugins (except plugins.js) and the index file from an old 1.3.4 game into the game I built in 1.5 and yup, it exported and worked (tho with some bugs). it seems that the new pixi is indeed causing a crash in androids
Hi, I've been killing myself because I made a game in 1.5 that wasn't deploying to android and now seeing a crash log I think it makes some sense to me.

I'm not home atm, but try this.

https://forums.rpgmakerweb.com/inde...ne-optimizations-for-mobile-deployment.70783/

Go to that forum link and download the old version of pixi.js and replace the pixi.js in your android project and see if that works. i'm going to try it myself soon.


EDIT: Nope that failed. looks like part of the new pixi isn't compatible with android though.

EDIT2: I am an idiot XD. I copied the plugins (except plugins.js) and the index file from an old 1.3.4 game into the game I built in 1.5 and yup, it exported and worked (tho with some bugs). it seems that the new pixi is indeed causing a crash in androids
hmmm, I had the hope that the new bitmap functions may improve gameplay on android, but it actually made things worse?
I probably should not expect too much improvement and stick with older version then.
thanks for the reply

Original thread: https://forums.rpgmakerweb.com/threads/type-error-for-android-deployment-in-rmmv-1-5-0.80359/