Search Issue Tracker

Fixed in 2019.1.X

Fixed in 2018.4.X

Votes

40

Found in

2018.1.0b7

Issue ID

1002683

Regression

No

Merge conflict in ProjectVersion.txt causes 'Unable to parse file' error on any project opened

Themes

-

Steps to reproduce:
1. Start a new project
2. Open ProjectSettings/ProjectVersion.txt file of your newly created project
3. Write anything in ProjectVersion.txt file or cause a merge conflict to break it
4. Start another new project
5. Notice that the error is still present

Expected result: "Unable to parse file ProjectSettings/ProjectVersion.txt: [mapping values are not allowed in this context] at line 1" error is unclear and should not stay present with any project opened

Reproduced in: 2018.2.0a8, 2018.1.0f, 2017.4.1f1, 2017.3.2f1, 2017.2.2p1, 2017.1.3p2

Fixed in: 2019.1.0a6

Workaround: This issue is likely a merge conflict in one of the ProjectVersion.txt files. The error is still present on any new project opened, so for now, it is suggested going through the projects and finding the one ProjectVersion.txt file causing this and deleting it.

Comments (17)

  1. Rikvee

    Jun 02, 2023 21:03

    Still getting this issue in 2021.3.2f1

    Unable to parse file ProjectSettings/ProjectVersion.txt: [Parser Failure at line 1: Expected non empty YAML buffer]

    Doesn't seem to break the game, but it is annoying.

  2. cozyurt_unity

    Jul 13, 2020 17:24

    kedi ve köpek mamaları kedi kumu çeşitleri www.patilimama.com

  3. hawken

    Jun 19, 2020 10:32

    this is not fixed

  4. Scandalon_NoReallyItsMe

    Apr 03, 2020 01:20

    I just encountered this error, 2018.4.19f1

    New empty 3D project, reproduced it twice. Compared file to existing project, identical. Deleting it solved the issue.

  5. fr123234ee

    Dec 29, 2019 02:36

    have this problem in unity 2018.4.6

  6. karimkos

    Oct 17, 2019 21:29

    Still, I have this problem in Unity version 2019.2.7f2.
    Unable to parse file ProjectSettings/ProjectVersion.txt: [mapping values are not allowed in this context] at line 1

  7. limonad76

    Aug 06, 2019 17:41

    Still have this error message in 2019.2.0f1 immediately after creating new 3D project.

    Unable to parse file ProjectSettings/ProjectVersion.txt: [mapping values are not allowed in this context] at line 1

  8. Fengkaihao

    Jul 23, 2019 13:38

    Still having the issue in 2019.1.10f1.

    I don't know if the issue is of the same cause, but here is mine:

    "Unable to parse file ProjectSettings/ProjectVersion.txt: [mapping values are not allowed in this context] at line 2"

  9. TomZet

    Jul 04, 2019 13:42

    I´m using Unity 2019.1.8f and it´s still there.
    I got plenty of projects on my system so any hint on how to discover the one ProjectVersion.txt causing this problem would be cool. How does this one differ from correct ones?

  10. mailitos

    Nov 29, 2018 12:55

    Unity 2018.2.17f1 and the problem continues

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.