InvalidStateError - RPGMV | CanvasRenderingContext2D

Hi everyone!

A couple of days, i've decided to back to RPGMV. I've bought a Character Pack to finally make my game (finally writed the history). I've adjusted the Database but, i've got that error.

Well, anyone could me help with this?

Thanks anyaway.


1581259845473.png
Invalid
I've got no experience with the error in question, but it may help me or someone else to find the issue if you can provide a screenshot of your console at the time of the error (press F8 during playtest and switch to the "console" tab at the top). This should tell us what part of the code is executing when the error occurs.

It may also prove useful to provide a screenshot of the actor / event you've used a character from this new character pack with, just so we can be sure there's nothing gone wrong there.
Hi Silva, there is the screenshot. I didn't know about the 'console' mode. See:

error.png


If you want to see detailed, theres a log file on attachment.
I'm fairly confident that this is being caused by missing images. For the errors shown in the console that read "ERR_FILE_NOT_FOUND" that show a filepath, you need to have those images in the folder at the end of that path ie. your games root folder should contain a folder called "img", within that there should be a folder called "system" and within that you need all the images that the console says are missing.

For ease, I would create a new project and just copy the "system" folder into your current project's "img" folder. If you've removed the contents of other folders this issue might continue, just follow the same process until you have the images you need.

For future reference, don't delete or rename folders that are already in the project when it's created unless you know what you're doing - 99% of the time all of the folders are necessary. For images it's probably not wise to remove any from the "system" folder as these are also required (you can replace them with different images with the same name though).
copy the "system" folder into your current project's "img" folder.
Why would you do this? Those files are meant to be in the system folder, not in the img folder.

I'm thinking you've done something weird with your project. Start a brand new project and add your new images to it. See if it gives you the same error.
Why would you do this? Those files are meant to be in the system folder, not in the img folder.

Yes, and the system folder is to be in the img folder, hence why I said put the folder in the img folder and not the files in the img folder.

The file path in the console image would confirm that this is what the OP's game is expecting.

I've moved this thread to MV Support. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/invalidstateerror-rpgmv-canvasrenderingcontext2d.118069/