"Your project was last opened with a different setup of Unity"

The project does not start. a week ago I upload everything to the hub. Now I decided to open it to check, the version is not the same. That being said, I didn’t update or delete anything.6172615--675592--Снимок.PNG

Hi @Yarl_Ka ,

In order to understand your issue better and be able to help you in a better way, would you mind to ask these questions:

From the message on your screenshot, it seems that your project was created with an older version of Unity, older that Unity 5.0… Is that correct?

Do you have a copy of your project, just in case the importing process in the newer version doesn’t go as expected?

Have you tried to click the “Continue” button?

If so, did your project opened in the new version without errors?

Thank you!

The project was created in version 2019.3.14f1

If I click “continue” an error occurs.
the project can be started but there are a lot of errors in the console and some of the scenes do not start.
6175671--676074--Снимок1.PNG

There is a copy of the previous version, the project can be restored. I would like to understand why this error occurred and how to fix it so that this does not happen in the future.

From that screenshot it looks like you had a bad git merge! Git includes text like <<<<<<HEAD in your files when there is a merge conflict to help the user resolve the merge. But it looks like you or someone working on your project actually committed Git’s merge helper data into the file instead of properly resolving the merge conflict.

Here’s an article explaining a merge conflict and how to properly resolve one in Git: https://opensource.com/article/20/4/git-merge-conflict
Here’s a StackOverflow question regarding git merge conflicts: https://stackoverflow.com/questions/10657315/git-merge-left-head-marks-in-my-files

Your best option right now is probably to revert your code to an earlier working commit, or to before the merge, and try to attempt that merge again, but do the conflict resolution properly this time.

2 Likes

@PraetorBlue , many thanks