Setup Fail

Status
Resolved
Issue description

Executing Gradle task: eclipse

Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 7887 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk

FAILURE: Build failed with an exception.

* What went wrong:

A problem occurred configuring root project 'warcraft'.

> Could not open cp_proj remapped class cache for cog68riwm0ey17pptjwmo90fx (C:\Users\kingb\.mcreator\gradle\caches\4.9\scripts-remapped\build_es3mcw9sn7qarsq5p8hlxxjb9\cog68riwm0ey17pptjwmo90fx\cp_proj805bbaf3ec9b6f2e6eed9f409f522f86).

   > Unexpected lock protocol found in lock file. Expected 3, found 0.

* 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

BUILD FAILED in 0s

BUILD FAILED

Task completed in 362 milliseconds

Issue comments

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 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 -> Reload gradle project and then Build & run -> Regenerate code and build.

Ok. It persisted after deleting and recreating it, but when making a differently named workspace, it worked(the new workspace was called gun and the other new workspace was called guncraft, and the old one was called warcraft