What does this error mean and how do I fix????
"Unable to read file Items.json"
RPG Maker MV SupportIt means that your items.js file is either missing or corrupted.
The items.js file is where all your informations from the "Items" tab in the database is stored.
The file is located in Your project folder>Data along with things like actors.js, animations.js, armors.js and all of your map.js files.
The items.js file is where all your informations from the "Items" tab in the database is stored.
The file is located in Your project folder>Data along with things like actors.js, animations.js, armors.js and all of your map.js files.
How can you tell what part of the file is corrupted? I'm copying it over from another project and it looks fine to me in VS Code
I don't know code-wise. If you're copying it from another project, I would try opening the items tab in the editor. Perhaps even click on every item in there, then save the project and try to run it again to make sure all the parameters are properly updated.
(Similarly to when you add something to a plugin. You'll need to open the plugin inside the plugin manager in order for it to update the parameters.)
If that doesn't help, someone with coding experience will need to help out.
(Similarly to when you add something to a plugin. You'll need to open the plugin inside the plugin manager in order for it to update the parameters.)
If that doesn't help, someone with coding experience will need to help out.
What you suggested doesn't change any of the parameters in the items file (at least that I noticed) so i'm not sure where to go from here. I thought it could be something to do with the max number of items giving me an error but when I set the maximum items to be the same as the items file i'm copying over I still get the error.
In the future, it's generally a good idea to include this kind of relevant information in the initial post - anything unusual you're doing that's potentially related to the error.
As a bit of a sanity check, do you have a file called
Items.json in the folder data? And does this problem still happen if you disable all your plugins?If so, can you press F8 after getting the error, expand all the errors (by clicking on the small triangles on the left), and send a screenshot of what you see there?
The reason why I was suggesting that was because changes to pugin files do not get applied until you open them up in the plugin manager. (Adding a new parameter for a plugin for example will not be saved by the manager if you didn't open the file in the manager)
I never said it would make any changes to your items.js. It was just one posibility to fix the issue.
We don't know what your steps were exactly, heck, we didn't even know you took the file from a different project entirely.
Original thread: https://forums.rpgmakerweb.com/threads/unable-to-read-file-items-json.154877/