Search Issue Tracker

Fixed in 2019.1

Fixed in 2018.4

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 (15)

  1. C4d29d31ffc653e07ea79f4014272de7?d=mm

    hawken

    Jun 19, 2020 10:32

    this is not fixed

  2. 31897b6397a0ae155f9ea3d34b4c59e0?d=mm

    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.

  3. Fb4f42c170f81e3b808c457835d24cc4?d=mm

    fr123234ee

    Dec 29, 2019 02:36

    have this problem in unity 2018.4.6

  4. 56196cb0369cfc94ab4d1aa14b27ca08?d=mm

    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

  5. 68c7dc7d14a334bb7860a7f339231371?d=mm

    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

  6. Eb6fcf70a1a2b1dd143d64795425fbd3?d=mm

    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"

  7. E644edde11dc2e768e44f48430a1cc2a?d=mm

    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?

  8. 361b5e7981634e9523a839fb90bd60ca?d=mm

    mailitos

    Nov 29, 2018 12:55

    Unity 2018.2.17f1 and the problem continues

  9. 7aa0991def8464ce83aa42d9c6db783f?d=mm

    CyanSlinky

    Oct 25, 2018 21:01

    This is still broken in 2018.2.6f1 and 2018.2.12f1 and i cant for the life of me fix it, it's really starting to annoy me.

  10. Dc7e5d79777ee80af498e62ca1888aaa?d=mm

    zero3growlithe

    Oct 16, 2018 17:17

    If error can't be removed, at least give us the option to find the file causing this error...

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.