Search Unity

Unity 2018.1.5f: create invalid project

Discussion in 'Package Manager' started by Superzem2112, Jun 20, 2018.

  1. Superzem2112

    Superzem2112

    Joined:
    Jun 20, 2018
    Posts:
    5
    I saw that unity had some new update and decided to download it for its new features. The problem is that each time I create a new project, unity loads and then gives me this:

    Capture1.PNG If I press "Retry", it puts me back on the Project selection screen. If I press "Quit", it turns off unity. If I press "Continue" it continues loading and it finally opens up unity. In the editor there is this constant error:
    Capture3.PNG
    All component and all asset also have this under them:
    Capture2.PNG
    When I try to turn on play mode this happens:
    Capture4.PNG
    I searched the "CHANGELOG.md" file and found this:
    Capture5.PNG
    I really don't know what to do so could someone help me.
     
  2. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    609
    Hi @Superzem2112,

    It seems that somehow you don't have *write* file access on your user folder (
    C:\Users\<username>\AppData\Local\unity
    .

    This is really strange and it is the first time I see this error.

    Can you create a file in this folder?

    Regards,

    Pascal
     
  3. Superzem2112

    Superzem2112

    Joined:
    Jun 20, 2018
    Posts:
    5
    yes,
    I can create a new file in the folder
     
  4. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    609
    Is the changelog.md file read-only? Can you change the read-only state of the file?
     
  5. Superzem2112

    Superzem2112

    Joined:
    Jun 20, 2018
    Posts:
    5
    No, I can't edit the changelog.md file and I don't know how to make the file not read-only.
     
  6. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    609
  7. Superzem2112

    Superzem2112

    Joined:
    Jun 20, 2018
    Posts:
    5
    After turning all the files back to read and write and created a new project, the unity editor opened and it gave an error saying that ...Unity\cache\packages\packages.unity.com\com.unity.package-manager-ui@1.8.8\Editor\Sources\External\ SemVersion.cs had a "/*" at the beginning of the file but no "*/" at the end of the file. I simply added one at the end of the file. When I finished my edits, another error appeared saying:
    .../Unity/cache/packages/packages.unity.com/com.unity.package-manager-ui@1.8.8/Editor/Sources/Services/Packages/PackageListExtensions.cs(8,35): error CS0246: The type or namespace name `Package' could not be found. Are you missing an assembly reference?
    I checked the ... Packages/PackagelistExtension and everything seemed normal thought.
     
  8. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    609
    Can you erase the folder
    Unity\cache\
    and restart Unity? Did it work or you still got an error. And the errors persist, are they showing with a new project to?
     
  9. Superzem2112

    Superzem2112

    Joined:
    Jun 20, 2018
    Posts:
    5
    Thank, you everything works now. :)
     
  10. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    609
    Great! Please let us know if this problem comes back!

    Regards,

    Pascal