I was testing my game in a browser, everything runs fine, except for when battles occur.
During a battle, it will load the resources, but at random it will give an error that the resource is missing with a retry button.
No matter how many time I spam the button, it won't find it, despite the resource having already been used.
Example: Attack->loads hit1, Attack->loads hit1, Attack->Missing resource hit1->retry.
Assuming you are using MV? You haven't specified, and this section of the forum is for all versions of the engine.
Hit1 is an audio file and should be in the audio/se folder.
Sounds like a deployment issue, so...
Moved to: RPGMaker MV Deployment
Sorry Shaz and Kes, yes I've switched to MV from ACE. All the files are in the folders. I wonder if it could be a browser caching issue. I do web development, so I often remove the cache to get immediate results on code changes.
another option is that the file might have the wrong name and that you're still partially getting redirected by the windows override.
For browsers and network programs (and a lot of other operating systems), Hit1 and hit1 are two different files, and trying to load a file hit1 when only a file Hit1 is present will result in a file not found error.
However, Windows has an override that redirects it to Hit1 if that is present even if the computer is looking for a file named hit1, allowing the system to load the wrong file.
This override might have interfered here, and the only solution is first to rename that file to use all lower cases and then re-assign the new file wherever it is used in the editor.