Upgraded to 2020.2 and my mod is destroyed

Published by ahznb on
Issue description

I upgraded to 2020.2 from 1.9.1, and now my mod is completely destroyed.

I had many elements that were manually modified and locked. The sources for non-locked elements were moved to many different subfolders. The mod would not compile, so I reverted back to 1.9.1, did a clean build files, regenerate code and build, and it deleted all my locked elements source code.

Issue comments

I am sorry to hear this happened.

You can not open the mod in the newer version and then back in the old version. This will not work and likely corrupt the workspace.

If one has locked files, it is expected that he is a more advanced user and checks https://mcreator.net/wiki/mcreator-release-notes:

[Code only] All mod elements with locked code (including main mod files) will have to be redone due to massive change in the project structure

I thought redone implied that they will need to be made from scratch. I will improve the wording.

I am once again sorry to hear this happened. I would recommend to make a backup before switching versions and generally having backups, also for cases if you accidentally delete something.

I will consider adding an option to make a full backup before the switch.