Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I'm having 2 issues since purchasing.  The General Settings tab is in Japanese and experiencing the 'getPixel' error mentioned previously.  I'm pretty certain that I configured everything correctly and copied the plugin from the English project demo.


Uncaught TypeError: Cannot read property 'getPixel' of undefined

    at Function.ColorManager.textColor (rmmz_managers.js:1757)

    at parseColorParam (Ultimate_Gacha_Minigame.js:4892)

    at Ultimate_Gacha_Minigame.js:4822

    at Array.map (<anonymous>)

    at Ultimate_Gacha_Minigame.js:4817

    at Ultimate_Gacha_Minigame.js:8370

Hi! How are you?

 some time ago another user reported something very similar. We tried to investigate the possible cause, and I’ll share with you some suggestions that helped resolve it:

It seems the issue may be related to the Alternative Currency configuration.

Please check the following: 🔹 Use HEX color format (including the #) 

The plugin uses HEX colors, not the default RPG Maker MZ window skin color indexes (1, 2, 3, 4… 20).

Try setting the color values using HEX format (with the #).

If you’re not familiar with HEX colors, you can use this Google Color Picker to choose one easily:

Once you choose a color, go to the plugin parameters:

Alternative Currency Setup > [Array] > Text Color

and enter one HEX color per currency, for example: #fcba02 #2b72ff

📌 Additional tip reported by another user: 

“If I don’t type the size, the error occurs. If I set a number higher than 0, it works.”

So please also make sure a valid number is entered in any Size parameter.

📹 Additional Setup tutorial 

I also recorded a new setup example from scratch here, which may help:

Please try these suggestions and let me know if it solves the problem.

If not, feel free to send me the settings you’re using and I’ll help you further!

Best regards,

Undermax

Changing to hex colors fixed the error, that was the issue!  Thank you :)