Client download error help urgently!!

Started by Turbo_MaKsIk12 on

Topic category: Troubleshooting, bugs, and solutions

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Client download error help urgently!!

Executing Gradle task: eclipse
Build info: MCreator 2021.2.36710, forge-1.16.5, 64-bit, 8191 MB, Windows 7, JVM 11.0.11, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Task :downloadMcpConfig
> Task :extractSrg UP-TO-DATE
> Task :createSrgToMcp UP-TO-DATE
> Task :downloadMCMeta UP-TO-DATE
Copying local object: e5/e5cd2ef51a9f6398f46d85564735363dcf2df935 Asset: minecraft/sounds/mob/fox/idle5.ogg
minecraft/sounds/mob/fox/idle5.ogg Hash failed.
Copying local object: 34/342790fb463baafaa7b8d61102567b48505cbdf2 Asset: minecraft/sounds/mob/vex/charge3.ogg
minecraft/sounds/mob/vex/charge3.ogg Hash failed.
Copying local object: 94/94b3a88973277ba1df46754cdf70e4d061e25b95 Asset: minecraft/sounds/mob/wandering_trader/hurt4.ogg
minecraft/sounds/mob/wandering_trader/hurt4.ogg Hash failed.
> Task :downloadAssets FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':downloadAssets'.
> Failed to get asset: minecraft/sounds/mob/fox/idle5.ogg
 Failed to get asset: minecraft/sounds/mob/vex/charge3.ogg
 Failed to get asset: minecraft/sounds/mob/wandering_trader/hurt4.ogg
 Some assets failed to download or validate, try running the task again.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec…
BUILD FAILED in 4s
5 actionable tasks: 2 executed, 3 up-to-date
BUILD FAILED
Task completed in 5 seconds

What to do?

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe you ran out of storage…
Wed, 11/03/2021 - 05:05

Maybe you ran out of storage for your drive

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The most common solution In…
Sat, 04/01/2023 - 06:39

The most common solution

In most cases all Gradle errors are caused by one of these:

  • Firewall or antivirus blocking MCreator
  • Slow internet connection
  • Your ISP blocking certain websites
  • Too slow VPN or VPN with blocked domains that MCreator needs to access
  • Any other software blocking access to download repository

The most common errors from Gradle are caused by firewalls or antivirus software. If you have any issues, we recommend you to temporarily turn off this software and try again. If this works, add MCreator as an exception to your firewall or antivirus or reconfigure the software properly to not block programs such as MCreator.

It can also happen that the servers from which Gradle downloads files (Minecraft servers, Minecraft Forge repo, Maven repository) are down and you might just need to try again later in such cases.

In some cases of unstable or slow connections, running the setup multiple times and when it fails with errors related to the internet connection (timeout errors, failed to connect, failed to GET, HEAD, ...) clicking re-run the setup multiple times resolves the issue as eventually, all files get properly downloaded.

The second most common solution

In some cases, Gradle caches that make sure the build process does not take too long can get corrupted. In such a case, go to:

<your user home folder>/.mcreator/gradle

In this folder, there is a folder called caches. Delete this folder and open MCreator again. Next build will take a bit longer as caches need to be rebuilt. If you can not delete all files in this folder (which is necessary), reboot the computer first to remove any potential file locks.

If this is not enough to make things work, delete the entire gradle folder, not just caches, and try again.

If even this fails, try to delete the entire <your user home folder>/.mcreator/gradle folder, create a new workspace with the same generator version as the version of the workspace failing, after the setup of this new workspace is done, open your current workspace, and click Build & run -> Build workspace, then Build & run -> Reload gradle project and then Build & run -> Regenerate code and build.


(A copy paste)