Game doesn't boot when encrypted

● ARCHIVED · READ-ONLY
Started by Hyde233 3 posts View original ↗
  1. I'm trying to deploy a small demo of my game and when I try enabling encryption, it results in an error message saying "InvalidState Error: Failed to execute 'drawImage' on 'CanvasRenderingContext2d': The HTMLImageElement provided is in the 'broken' state."

    I tried removing all plugins and it still gives this error. I've also tried removing spaces in the names of all files, the extension names of all files are in lowercase, and there aren't any special characters, and I still get the same error. This message doesn't occur when it's deployed unecrypted.

    A few days back, I also tried deploying a different game and that too had a similar issue.

    I'm currently using RPG Maker MV 1.6.1. I've also tried replacing the JS files, index.html, and package.json file on my project and I still get the error.
  2. Does a new project work with encryption?
    Can you give a console Screenshot of the error?
  3. Andar said:
    Does a new project work with encryption?
    Can you give a console Screenshot of the error?
    I tried a new project and it seems to work for some reason.
    Also, how do you open the console, it's the F12 button, right? It doesn't work on a deployed project it seems.

    Edit: I've managed to fix the issue. It's the image files that's causing this. For some reason, the first letter in the filenames for the images in the system folder need to capitalized. Just the first letter, it seems, but it's working now.